From 1994e00506d600c3cf5b271abe8768be8c0e61ef Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 11 Dec 2010 18:37:33 +0000 Subject: [PATCH] fix boneheaded hotkey mistakes --- desmume/src/windows/hotkey.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/windows/hotkey.cpp b/desmume/src/windows/hotkey.cpp index 19cefcaab..3cced7f0a 100644 --- a/desmume/src/windows/hotkey.cpp +++ b/desmume/src/windows/hotkey.cpp @@ -424,7 +424,7 @@ void HK_ToggleRasterizer(int, bool justPressed) { void HK_IncreasePressure(int, bool justPressed) { CommonSettings.StylusPressure += 10; - if(CommonSettings.StylusPressure<0) CommonSettings.StylusPressure = 0; + if(CommonSettings.StylusPressure>100) CommonSettings.StylusPressure = 100; osd->addLine("Stylus Pressure to %d%%",CommonSettings.StylusPressure); } void HK_DecreasePressure(int, bool justPressed) {