git.y1.nz

SameBoy

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

commit a80a19b418f246fbfcbec0b33c03e3f20f501eeb
parent 2b37404447a319eda92696f58ace52e7eb136f5c
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Fri,  5 Apr 2024 14:54:05 +0300

Fix warning

Diffstat:
Mlibretro/libretro.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libretro/libretro.c b/libretro/libretro.c @@ -529,7 +529,7 @@ static void boot_rom_load(GB_gameboy_t *gb, GB_boot_rom_t type) [GB_BOOT_ROM_AGB] = agb_boot_length, }[type]; - char buf[256]; + char buf[4096 + 1 + 4 + 9 + 1]; snprintf(buf, sizeof(buf), "%s%c%s_boot.bin", retro_system_directory, slash, model_name); log_cb(RETRO_LOG_INFO, "Initializing as model: %s\n", model_name); log_cb(RETRO_LOG_INFO, "Loading boot image: %s\n", buf);

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