Added direct ScummVM launcher mode
svn-id: r12737
This commit is contained in:
parent
6830942213
commit
a4d5e59669
2 changed files with 10 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue