diff options
Diffstat (limited to 'backends/platform/PalmOS/Src/zodiac_gfx.cpp')
-rw-r--r-- | backends/platform/PalmOS/Src/zodiac_gfx.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/platform/PalmOS/Src/zodiac_gfx.cpp b/backends/platform/PalmOS/Src/zodiac_gfx.cpp index 7b59b1f8d1..0c70aa9fe4 100644 --- a/backends/platform/PalmOS/Src/zodiac_gfx.cpp +++ b/backends/platform/PalmOS/Src/zodiac_gfx.cpp @@ -66,8 +66,10 @@ void OSystem_PalmZodiac::load_gfx_mode() { WinScreenMode(winScreenModeSet, NULL, NULL, &depth, NULL); _sysOldOrientation = SysGetOrientation(); + _sysOldTriggerState = PINGetInputTriggerState(); SysSetOrientation(sysOrientationLandscape); SysSetOrientationTriggerState(sysOrientationTriggerDisabled); + PINSetInputTriggerState(pinInputTriggerDisabled); gVars->indicator.on = RGBToColor(0,255,0); gVars->indicator.off = RGBToColor(0,0,0); @@ -190,6 +192,7 @@ void OSystem_PalmZodiac::unload_gfx_mode() { MemPtrFree(_offScreenP); + PINSetInputTriggerState(_sysOldTriggerState); SysSetOrientation(_sysOldOrientation); StatShow(); PINSetInputAreaState(pinInputAreaOpen); |