Added direct ScummVM launcher mode

svn-id: r12737
This commit is contained in:
Chris Apers 2004-02-05 14:05:07 +00:00
parent 6830942213
commit a4d5e59669
2 changed files with 10 additions and 1 deletions

View file

@ -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();