diff options
Diffstat (limited to 'src/emu/debug/debugcon.c')
-rw-r--r-- | src/emu/debug/debugcon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/debug/debugcon.c b/src/emu/debug/debugcon.c index e51ec8d2eb8..639e6e479db 100644 --- a/src/emu/debug/debugcon.c +++ b/src/emu/debug/debugcon.c @@ -482,7 +482,7 @@ void CLIB_DECL debug_console_printf(running_machine &machine, const char *format buffer.vprintf(format, arg); va_end(arg); - text_buffer_print(console_textbuf, buffer); + text_buffer_print(console_textbuf, buffer.c_str()); /* force an update of any console views */ machine.debug_view().update_all(DVT_CONSOLE); @@ -500,7 +500,7 @@ void CLIB_DECL debug_console_vprintf(running_machine &machine, const char *forma astring buffer; buffer.vprintf(format, args); - text_buffer_print(console_textbuf, buffer); + text_buffer_print(console_textbuf, buffer.c_str()); /* force an update of any console views */ machine.debug_view().update_all(DVT_CONSOLE); @@ -522,7 +522,7 @@ void CLIB_DECL debug_console_printf_wrap(running_machine &machine, int wrapcol, buffer.vprintf(format, arg); va_end(arg); - text_buffer_print_wrap(console_textbuf, buffer, wrapcol); + text_buffer_print_wrap(console_textbuf, buffer.c_str(), wrapcol); /* force an update of any console views */ machine.debug_view().update_all(DVT_CONSOLE); |