Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
LIJI32 committed Apr 5, 2024
1 parent 2b37404 commit a80a19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libretro/libretro.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a80a19b

Please sign in to comment.