mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
SCI: Restored ability to warp the mouse cursor
svn-id: r38884
This commit is contained in:
parent
ec26d4f24b
commit
b990add13e
@ -1324,6 +1324,7 @@ int gfxop_set_pointer_position(gfx_state_t *state, Common::Point pos) {
|
||||
|
||||
state->driver->pointer_x = pos.x * state->driver->mode->xfact;
|
||||
state->driver->pointer_y = pos.y * state->driver->mode->yfact;
|
||||
g_system->warpMouse(state->driver->pointer_x, state->driver->pointer_y);
|
||||
|
||||
_gfxop_full_pointer_refresh(state);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user