diff options
Diffstat (limited to 'backends/platform/wii/osystem_events.cpp')
-rw-r--r-- | backends/platform/wii/osystem_events.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/wii/osystem_events.cpp b/backends/platform/wii/osystem_events.cpp index 05f3469e42..f28e5b547b 100644 --- a/backends/platform/wii/osystem_events.cpp +++ b/backends/platform/wii/osystem_events.cpp @@ -357,8 +357,8 @@ bool OSystem_Wii::pollEvent(Common::Event &event) { WPAD_IR(0, &ir); if (ir.valid) { - mx = ir.x - _currentWidth / 10; - my = ir.y - _currentHeight / 10; + mx = s32(ir.x) - _currentWidth / 10; + my = s32(ir.y) - _currentHeight / 10; if (mx < 0) mx = 0; |