aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/PalmOS/Src/launcher/start.cpp
diff options
context:
space:
mode:
authorChris Apers2007-05-01 14:50:55 +0000
committerChris Apers2007-05-01 14:50:55 +0000
commit8573ca3f7409108bff0e24ba3a942ca692ce5787 (patch)
tree69765c162244a502c79d451e5116a8cc5cbd21e9 /backends/platform/PalmOS/Src/launcher/start.cpp
parent54b8a4d06f56b3045f0e5a1ec3709ac1524f48d0 (diff)
downloadscummvm-rg350-8573ca3f7409108bff0e24ba3a942ca692ce5787.tar.gz
scummvm-rg350-8573ca3f7409108bff0e24ba3a942ca692ce5787.tar.bz2
scummvm-rg350-8573ca3f7409108bff0e24ba3a942ca692ce5787.zip
Added supported games list and got rid of bStartScumm
svn-id: r26716
Diffstat (limited to 'backends/platform/PalmOS/Src/launcher/start.cpp')
-rw-r--r--backends/platform/PalmOS/Src/launcher/start.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/platform/PalmOS/Src/launcher/start.cpp b/backends/platform/PalmOS/Src/launcher/start.cpp
index 076c24d6c2..e68228cc77 100644
--- a/backends/platform/PalmOS/Src/launcher/start.cpp
+++ b/backends/platform/PalmOS/Src/launcher/start.cpp
@@ -43,7 +43,6 @@ GlobalsPreferencePtr gPrefs;
GlobalsDataPtr gVars;
Boolean bDirectMode = false;
-Boolean bStartScumm = false;
Boolean bLaunched = false;
/***********************************************************************
@@ -200,6 +199,10 @@ static Boolean AppHandleEvent(EventPtr eventP) {
FrmSetEventHandler(frmP, InfoFormHandleEvent);
break;
+ case EngineForm:
+ FrmSetEventHandler(frmP, SelectorFormHandleEvent);
+ break;
+
default:
// ErrFatalDisplay("Invalid Form Load Event");
break;
@@ -231,9 +234,6 @@ static void AppEventLoop(void) {
do {
EvtGetEvent(&event, evtNoWait);
- if(bStartScumm)
- bStartScumm = StartScummVM();
-
if (! SysHandleEvent(&event))
if (! MenuHandleEvent(0, &event, &error))
if (! AppHandleEvent(&event))
@@ -330,7 +330,7 @@ static UInt32 ScummVMPalmMain(UInt16 cmd, MemPtr cmdPBP, UInt16 launchFlags) {
FrmGotoForm(MainForm);
}else {
GamUnselect();
- bStartScumm = true;
+ FrmGotoForm(EngineForm);
}
AppEventLoop();