Getting DirectX emulation to work