parent
e6aba1f7aa
commit
edfae828f6
42 changed files with 4091 additions and 1005 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue