mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
IPHONE: Fix mouse coordinates for hi res games.
This commit is contained in:
parent
3f37842580
commit
4f85ad6b99
@ -648,7 +648,7 @@ const char *iPhone_getDocumentsDir() {
|
||||
*y = (int)(point.y * height + offsetY);
|
||||
|
||||
// Clip coordinates
|
||||
if (*x < 0 || *x > CGRectGetWidth(*area) || *y < 0 || *y > CGRectGetHeight(*area))
|
||||
if (*x < 0 || *x > width || *y < 0 || *y > height)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user