mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-02 03:03:01 +02:00
Fix warning
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user