Exemple #1
0
void debug_errorlog_write_line(running_machine *machine, const char *line)
{
	if (errorlog_textbuf)
		text_buffer_print(errorlog_textbuf, line);

	/* force an update of any log views */
	debug_view_update_type(DVT_LOG);
}
Exemple #2
0
void CLIB_DECL debug_console_vprintf(running_machine *machine, const char *format, va_list args)
{
	vsprintf(giant_string_buffer, format, args);
	text_buffer_print(console_textbuf, giant_string_buffer);

	/* force an update of any console views */
	debug_view_update_type(machine, DVT_CONSOLE);
}
Exemple #3
0
void CLIB_DECL debug_console_vprintf(running_machine &machine, const char *format, va_list args)
{
	astring buffer;

	buffer.vprintf(format, args);
	text_buffer_print(console_textbuf, buffer);

	/* force an update of any console views */
	machine.debug_view().update_all(DVT_CONSOLE);
}
Exemple #4
0
void CLIB_DECL debug_console_printf(const char *format, ...)
{
	va_list arg;

	va_start(arg, format);
	vsprintf(giant_string_buffer, format, arg);
	va_end(arg);

	text_buffer_print(console_textbuf, giant_string_buffer);

	/* force an update of any console views */
	debug_view_update_type(DVT_CONSOLE);
}
Exemple #5
0
void CLIB_DECL debug_console_printf(running_machine *machine, const char *format, ...)
{
	astring buffer;
	va_list arg;

	va_start(arg, format);
	buffer.vprintf(format, arg);
	va_end(arg);

	text_buffer_print(console_textbuf, buffer);

	/* force an update of any console views */
	debug_view_update_type(machine, DVT_CONSOLE);
}