Fix tester and Xdg thumbnailer build

This commit is contained in:
Lior Halphon
2024-11-21 20:24:20 +02:00
parent ee3f37b39c
commit ad2360b5c3
2 changed files with 2 additions and 2 deletions

View File

@@ -195,7 +195,7 @@ static void vblank(GB_gameboy_t *gb, GB_vblank_type_t type)
}
}
static void log_callback(GB_gameboy_t *gb, const char *string, GB_log_attributes attributes)
static void log_callback(GB_gameboy_t *gb, const char *string, GB_log_attributes_t attributes)
{
if (!log_file) log_file = fopen(log_filename, "w");
fprintf(log_file, "%s", string);

View File

@@ -23,7 +23,7 @@ static char *async_input_callback(GB_gameboy_t *gb)
return NULL;
}
static void log_callback(GB_gameboy_t *gb, const char *string, GB_log_attributes attributes)
static void log_callback(GB_gameboy_t *gb, const char *string, GB_log_attributes_t attributes)
{
(void)gb, (void)string, (void)attributes; // Swallow any logs.
}