From 0200596391983291320a7aab1a6e849a5984d0e8 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sun, 10 May 2020 22:05:47 +0300 Subject: [PATCH] Fix #256 --- libretro/libretro.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libretro/libretro.c b/libretro/libretro.c index 9e0f9a3..a7d6432 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -346,14 +346,14 @@ static void set_link_cable_state(bool state) static void boot_rom_load(GB_gameboy_t *gb, GB_boot_rom_t type) { const char *model_name = (char *[]){ - [GB_BOOT_ROM_DMG0] = "dmg0_boot", - [GB_BOOT_ROM_DMG] = "dmg_boot", - [GB_BOOT_ROM_MGB] = "mgb_boot", - [GB_BOOT_ROM_SGB] = "sgb_boot", - [GB_BOOT_ROM_SGB2] = "sgb2_boot", - [GB_BOOT_ROM_CGB0] = "cgb0_boot", - [GB_BOOT_ROM_CGB] = "cgb_boot", - [GB_BOOT_ROM_AGB] = "agb_boot", + [GB_BOOT_ROM_DMG0] = "dmg0", + [GB_BOOT_ROM_DMG] = "dmg", + [GB_BOOT_ROM_MGB] = "mgb", + [GB_BOOT_ROM_SGB] = "sgb", + [GB_BOOT_ROM_SGB2] = "sgb2", + [GB_BOOT_ROM_CGB0] = "cgb0", + [GB_BOOT_ROM_CGB] = "cgb", + [GB_BOOT_ROM_AGB] = "agb", }[type]; const uint8_t *boot_code = (const unsigned char *[])