aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorChris Apers2004-04-08 11:48:35 +0000
committerChris Apers2004-04-08 11:48:35 +0000
commit5ab0ba430bad8afd693241dd2b28048848a28020 (patch)
tree06637d1817de49a46e549c141aaef0a2547bf22f /scumm
parentbf0e879aa168b1fbfe247c6774df550506dffcee (diff)
downloadscummvm-rg350-5ab0ba430bad8afd693241dd2b28048848a28020.tar.gz
scummvm-rg350-5ab0ba430bad8afd693241dd2b28048848a28020.tar.bz2
scummvm-rg350-5ab0ba430bad8afd693241dd2b28048848a28020.zip
Can't do that on PalmOS, exit is event based
svn-id: r13499
Diffstat (limited to 'scumm')
-rw-r--r--scumm/resource.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 1dd6d90c2c..9fe9eacc81 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -243,15 +243,21 @@ void ScummEngine::askForDisk(const char *filename, int disknum) {
result = displayMessage("Quit", buf);
if (result == 2) {
- //error("Cannot find file: '%s'", filename);
+#ifdef __PALM_OS__
+ error("Cannot find file: '%s'", filename);
+#else
_system->quit();
+#endif
}
} else {
sprintf(buf, "Cannot find file: '%s'", filename);
InfoDialog dialog(this, (char*)buf);
runDialog(dialog);
- //error("Cannot find file: '%s'", filename);
+#ifdef __PALM_OS__
+ error("Cannot find file: '%s'", filename);
+#else
_system->quit();
+#endif
}
}