mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
fix #1010
This commit is contained in:
parent
03b465c5e2
commit
0aa0ae6c69
@ -730,9 +730,7 @@ void ScreenHandler::screenOnMousePress(QMouseEvent* event)
|
||||
int x = event->pos().x();
|
||||
int y = event->pos().y();
|
||||
|
||||
Frontend::GetTouchCoords(x, y);
|
||||
|
||||
if (x >= 0 && x < 256 && y >= 0 && y < 192)
|
||||
if (Frontend::GetTouchCoords(x, y))
|
||||
{
|
||||
touching = true;
|
||||
NDS::TouchScreen(x, y);
|
||||
|
Loading…
Reference in New Issue
Block a user