mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-08 14:58:13 +03:00
Merge upstream changes: output_console() takes printf-style arguments
This commit is contained in:
@@ -315,9 +315,7 @@ void NACT::execute(T* impl)
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(_DEBUG_CONSOLE)
|
||||
output_console(string);
|
||||
#endif
|
||||
} else if((0x81 <= cmd && cmd <= 0x9f) || 0xe0 <= cmd) {
|
||||
// message (2 bytes)
|
||||
char string[3];
|
||||
@@ -345,10 +343,7 @@ void NACT::execute(T* impl)
|
||||
SDL_Delay(16);
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(_DEBUG_CONSOLE)
|
||||
output_console(string);
|
||||
#endif
|
||||
} else {
|
||||
fatal("Unknown command %2x at %d", cmd, scenario_addr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user