aboutsummaryrefslogtreecommitdiff
path: root/base/engine.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2005-11-27 02:35:57 +0000
committerEugene Sandulenko2005-11-27 02:35:57 +0000
commitedfae828f6a792fe4809ca77a1181a00ed8b9f46 (patch)
tree69669f918ebfcb846c9a699a81c1c74804e720d1 /base/engine.cpp
parente6aba1f7aa00721140809b7b55270c4e171f53e5 (diff)
downloadscummvm-rg350-edfae828f6a792fe4809ca77a1181a00ed8b9f46.tar.gz
scummvm-rg350-edfae828f6a792fe4809ca77a1181a00ed8b9f46.tar.bz2
scummvm-rg350-edfae828f6a792fe4809ca77a1181a00ed8b9f46.zip
Patch #1341626: "New GP32 port"
svn-id: r19710
Diffstat (limited to 'base/engine.cpp')
-rw-r--r--base/engine.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/base/engine.cpp b/base/engine.cpp
index 4ef1bb4b31..5e2d1289cb 100644
--- a/base/engine.cpp
+++ b/base/engine.cpp
@@ -156,13 +156,16 @@ void NORETURN CDECL error(const char *s, ...) {
vsnprintf(buf_input, STRINGBUFLEN, s, va);
va_end(va);
+#ifndef __GP32__
if (g_engine) {
g_engine->errorString(buf_input, buf_output);
} else {
strcpy(buf_output, buf_input);
}
-
-#ifdef __GP32__ //ph0x FIXME?
+#else
+ strcpy(buf_output, buf_input);
+#endif
+#ifdef __GP32__
printf("ERROR: %s\n", buf_output);
#else
#ifndef _WIN32_WCE