From fed989f216c2821b278b936026757ed0fe9e989b Mon Sep 17 00:00:00 2001 From: Sour Date: Mon, 22 Jun 2020 20:18:45 -0400 Subject: [PATCH] Libretro: Added .bs files to support ext. list + Changed expected bios filename to match snes9x --- Core/FirmwareHelper.h | 4 ++-- Libretro/libretro.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/FirmwareHelper.h b/Core/FirmwareHelper.h index 7cebe62..2480b13 100644 --- a/Core/FirmwareHelper.h +++ b/Core/FirmwareHelper.h @@ -38,7 +38,7 @@ private: static bool AttemptLoadBsxFirmware(uint8_t** prgRom, uint32_t& prgSize) { - VirtualFile firmware(FolderUtilities::CombinePath(FolderUtilities::GetFirmwareFolder(), "BsxBios.sfc")); + VirtualFile firmware(FolderUtilities::CombinePath(FolderUtilities::GetFirmwareFolder(), "BS-X.bin")); if(firmware.IsValid() && firmware.GetSize() >= 0x8000) { *prgRom = new uint8_t[firmware.GetSize()]; prgSize = (uint32_t)firmware.GetSize(); @@ -94,7 +94,7 @@ public: } MissingFirmwareMessage msg; - msg.Filename = "BsxBios.sfc"; + msg.Filename = "BS-X.bin"; msg.Firmware = FirmwareType::Satellaview; msg.Size = 1024*1024; console->GetNotificationManager()->SendNotification(ConsoleNotificationType::MissingFirmware, &msg); diff --git a/Libretro/libretro.cpp b/Libretro/libretro.cpp index c1ae6ae..ae78824 100644 --- a/Libretro/libretro.cpp +++ b/Libretro/libretro.cpp @@ -718,7 +718,7 @@ extern "C" { info->library_name = "Mesen-S"; info->library_version = _mesenVersion.c_str(); info->need_fullpath = false; - info->valid_extensions = "sfc|smc|fig|swc|gb|gbc"; + info->valid_extensions = "sfc|smc|fig|swc|gb|gbc|bs"; info->block_extract = false; }