Patch #1341626: "New GP32 port"

svn-id: r19710
This commit is contained in:
Eugene Sandulenko 2005-11-27 02:35:57 +00:00
parent e6aba1f7aa
commit edfae828f6
42 changed files with 4091 additions and 1005 deletions

View file

@ -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