This commit is contained in:
RSDuck 2021-02-22 02:38:21 +01:00
parent 03b465c5e2
commit 0aa0ae6c69

View File

@ -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);