Skip to content

Commit

Permalink
Fix tester and Xdg thumbnailer build
Browse files Browse the repository at this point in the history
  • Loading branch information
LIJI32 committed Nov 21, 2024
1 parent ee3f37b commit ad2360b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tester/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion XdgThumbnailer/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
Expand Down

0 comments on commit ad2360b

Please sign in to comment.