aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}
}