aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2008-05-19 13:15:32 +0000
committerMax Horn2008-05-19 13:15:32 +0000
commitecf9d72ab4cc275ba0b4571407d1a50217152a38 (patch)
treefe8bb2032fa77a7f659ac43eab23361d305111b3
parentdf58a64ce04091e36ae751a3db3aeb4db06c6ea6 (diff)
downloadscummvm-rg350-ecf9d72ab4cc275ba0b4571407d1a50217152a38.tar.gz
scummvm-rg350-ecf9d72ab4cc275ba0b4571407d1a50217152a38.tar.bz2
scummvm-rg350-ecf9d72ab4cc275ba0b4571407d1a50217152a38.zip
Removed some more obsolete GP32 code
svn-id: r32179
-rw-r--r--common/util.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/common/util.cpp b/common/util.cpp
index 1f48a6ddd9..700ea97701 100644
--- a/common/util.cpp
+++ b/common/util.cpp
@@ -578,14 +578,8 @@ void NORETURN CDECL error(const char *s, ...) {
// Print the error message to stderr
-#ifdef __GP32__
- printf("ERROR: %s\n", buf_output);
-#else
fprintf(stderr, "%s!\n", buf_output);
-#endif
-
-#ifndef __GP32__
// Unless this error -originated- within the debugger itself, we
// now invoke the debugger, if available / supported.
if (g_engine) {
@@ -599,7 +593,6 @@ void NORETURN CDECL error(const char *s, ...) {
debugger->onFrame();
}
}
-#endif
#if defined( USE_WINDBG )
@@ -641,13 +634,10 @@ void CDECL warning(const char *s, ...) {
vsnprintf(buf, STRINGBUFLEN, s, va);
va_end(va);
-#ifdef __GP32__ //ph0x FIXME: implement fprint?
- printf("WARNING: %s\n", buf);
-#else
#if !defined (__SYMBIAN32__)
fprintf(stderr, "WARNING: %s!\n", buf);
#endif
-#endif
+
#if defined( USE_WINDBG )
strcat(buf, "\n");
#if defined( _WIN32_WCE )