From c368300c0574411ca4f8fdc42eb30f2be7340eec Mon Sep 17 00:00:00 2001 From: gocha Date: Tue, 8 Sep 2009 03:12:55 +0000 Subject: [PATCH] winport: a little fix for stylus autohold --- desmume/src/windows/hotkey.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desmume/src/windows/hotkey.cpp b/desmume/src/windows/hotkey.cpp index da2557faf..15c14dd55 100644 --- a/desmume/src/windows/hotkey.cpp +++ b/desmume/src/windows/hotkey.cpp @@ -202,6 +202,8 @@ void HK_StylusAutoHoldKeyDown(int) { void HK_AutoHoldClearKeyDown(int) { ClearAutoHold(); StylusAutoHoldPressed = false; + if (!userTouchesScreen) + NDS_releaseTouch(); } void HK_Reset(int) {ResetGame();}