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