mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-02 23:32:33 +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,
|
[GB_BOOT_ROM_AGB] = agb_boot_length,
|
||||||
}[type];
|
}[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);
|
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, "Initializing as model: %s\n", model_name);
|
||||||
log_cb(RETRO_LOG_INFO, "Loading boot image: %s\n", buf);
|
log_cb(RETRO_LOG_INFO, "Loading boot image: %s\n", buf);
|
||||||
|
Reference in New Issue
Block a user