mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-02 12:00:01 -06:00
fix #1010
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user