diff options
author | Chris Apers | 2004-12-10 15:41:50 +0000 |
---|---|---|
committer | Chris Apers | 2004-12-10 15:41:50 +0000 |
commit | 85045efac8861c3c7c5c0907e0915dc3f3968882 (patch) | |
tree | 23974e15053deddae8f76d13b2d4ce6e620d1610 /backends/PalmOS | |
parent | 7a194532209ce00480bcc11d09fa231e3d322bd3 (diff) | |
download | scummvm-rg350-85045efac8861c3c7c5c0907e0915dc3f3968882.tar.gz scummvm-rg350-85045efac8861c3c7c5c0907e0915dc3f3968882.tar.bz2 scummvm-rg350-85045efac8861c3c7c5c0907e0915dc3f3968882.zip |
Fixed virtual silkarea madness
svn-id: r16021
Diffstat (limited to 'backends/PalmOS')
-rw-r--r-- | backends/PalmOS/Src/start.cpp | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/backends/PalmOS/Src/start.cpp b/backends/PalmOS/Src/start.cpp index a617c59fe7..ece8e3d4eb 100644 --- a/backends/PalmOS/Src/start.cpp +++ b/backends/PalmOS/Src/start.cpp @@ -309,25 +309,17 @@ static void AppLaunchCmdNotify(UInt16 LaunchFlags, SysNotifyParamType * pData) break; case sysNotifyDisplayResizedEvent: - // FIXME : What the purpose of this code ??? it seems to be the part - // that make Zodiac silkarea be mad - /* if (gVars) { - static Boolean resized = false; - - if (gVars->pinUpdate && !resized) { - // resized = true; - - EventType ev; - MemSet(&ev, sizeof(EventType), 0); - ev.eType = (enum eventsEnum)winDisplayChangedEvent; - EvtAddUniqueEventToQueue(&ev, 0, true); + // This code allow redifinition of the screen pitch rotating the screen in the frontend + if (gVars) { + static Boolean resizing = false; + if (!resizing) { + resizing = true; PINGetScreenDimensions(); WinScreenGetPitch(); - } else { - // resized = false; + resizing = false; } - }*/ + } break; case sonySysNotifyMsaEnforceOpenEvent: @@ -397,4 +389,4 @@ end: UInt32 PilotMain( UInt16 cmd, MemPtr cmdPBP, UInt16 launchFlags) { return ScummVMPalmMain(cmd, cmdPBP, launchFlags); -}
\ No newline at end of file +} |