Skip to content

Commit 516d420

Browse files
committed
autotester: add missing gui debug callbacks with DEBUG_SUPPORT
1 parent 4ec17dc commit 516d420

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/autotester/autotester_cli.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ namespace cemucore
3030
extern "C"
3131
{
3232
void gui_console_clear() {}
33+
void gui_debug_close(void) {}
34+
void gui_debug_open(int reason, uint32_t data) {
35+
printf("[CEmu debug open] reason=%d, data=0x%X\n", reason, data);
36+
}
3337
void gui_console_printf(const char *format, ...) { (void)format; }
3438
void gui_console_err_printf(const char *format, ...) {
3539
static char message[512];

0 commit comments

Comments
 (0)