mirror of
https://github.com/LIJI32/SameBoy.git
synced 2026-10-11 22:19:50 +00:00
Fix tester and Xdg thumbnailer build
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
@@ -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.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user