diff options
author | Chris Apers | 2004-02-05 14:05:07 +0000 |
---|---|---|
committer | Chris Apers | 2004-02-05 14:05:07 +0000 |
commit | a4d5e5966958b1aa5ac90fe7fd6b02b670986a13 (patch) | |
tree | 52e63580f1442c48ac69e0d2ef2d2ec1ee74bba9 /backends/PalmOS/Src/start.cpp | |
parent | 6830942213e4ad02ab895f34d1f547341c3aa81c (diff) | |
download | scummvm-rg350-a4d5e5966958b1aa5ac90fe7fd6b02b670986a13.tar.gz scummvm-rg350-a4d5e5966958b1aa5ac90fe7fd6b02b670986a13.tar.bz2 scummvm-rg350-a4d5e5966958b1aa5ac90fe7fd6b02b670986a13.zip |
Added direct ScummVM launcher mode
svn-id: r12737
Diffstat (limited to 'backends/PalmOS/Src/start.cpp')
-rw-r--r-- | backends/PalmOS/Src/start.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/backends/PalmOS/Src/start.cpp b/backends/PalmOS/Src/start.cpp index 6933e93f96..886b7d141b 100644 --- a/backends/PalmOS/Src/start.cpp +++ b/backends/PalmOS/Src/start.cpp @@ -45,6 +45,7 @@ GlobalsPreferencePtr gPrefs; GlobalsDataPtr gVars; +Boolean bDirectMode = false; Boolean bStartScumm = false; /*********************************************************************** @@ -365,7 +366,13 @@ static UInt32 ScummVMPalmMain(UInt16 cmd, MemPtr cmdPBP, UInt16 launchFlags) if (error) goto end; - FrmGotoForm(MainForm); + if (!bDirectMode) { + FrmGotoForm(MainForm); + }else { + GamUnselect(); + bStartScumm = true; + } + AppEventLoop(); end: AppStop(); |