mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 01:46:42 +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);
|
*y = (int)(point.y * height + offsetY);
|
||||||
|
|
||||||
// Clip coordinates
|
// 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 false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user