mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-05 21:28:22 +03:00
debugger_dap: Emit Output event on sys_message
This commit is contained in:
@@ -325,3 +325,12 @@ void dbg_onsleep(void) {
|
||||
if (dbg_impl)
|
||||
dbg_impl->onsleep();
|
||||
}
|
||||
|
||||
boolean dbg_console_vprintf(const char *format, va_list ap) {
|
||||
if (!dbg_impl || !dbg_impl->console_output)
|
||||
return false;
|
||||
char buf[1024];
|
||||
vsnprintf(buf, sizeof(buf), format, ap);
|
||||
dbg_impl->console_output(buf);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user