aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/main.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2019-08-04 11:44:36 +0200
committerArisotura <thetotalworm@gmail.com>2019-08-04 11:44:36 +0200
commita6a9f74acc2fe1c0645dae7b06816d7fc6a67f81 (patch)
treec5e39c9313487c6b67dbc30375670609ce0b3e95 /src/libui_sdl/main.cpp
parentf7f4ff0519309669e78b994e7c759d13808f0a87 (diff)
lay base for DSi-mode TSC
Diffstat (limited to 'src/libui_sdl/main.cpp')
-rw-r--r--src/libui_sdl/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libui_sdl/main.cpp b/src/libui_sdl/main.cpp
index 86949eb..34e838c 100644
--- a/src/libui_sdl/main.cpp
+++ b/src/libui_sdl/main.cpp
@@ -1088,7 +1088,6 @@ void OnAreaMouseEvent(uiAreaHandler* handler, uiArea* area, uiAreaMouseEvent* ev
if (Touching && (evt->Up == 1))
{
Touching = false;
- NDS::ReleaseKey(16+6);
NDS::ReleaseScreen();
}
else if (!Touching && (evt->Down == 1) &&
@@ -1096,7 +1095,6 @@ void OnAreaMouseEvent(uiAreaHandler* handler, uiArea* area, uiAreaMouseEvent* ev
(x < (BottomScreenRect.X+BottomScreenRect.Width)) && (y < (BottomScreenRect.Y+BottomScreenRect.Height)))
{
Touching = true;
- NDS::PressKey(16+6);
}
if (Touching)