git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit ad2360b5c3ad7accce49452f8ce341d0d519c175
parent ee3f37b39cdbbda4ca9f94a4d60104975b9e726d
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Thu, 21 Nov 2024 20:24:20 +0200

Fix tester and Xdg thumbnailer build

Diffstat:
MTester/main.c2+-
MXdgThumbnailer/emulate.c2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Tester/main.c b/Tester/main.c @@ -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); diff --git a/XdgThumbnailer/emulate.c b/XdgThumbnailer/emulate.c @@ -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. }

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.