Libretro: Added .bs files to support ext. list

+ Changed expected bios filename to match snes9x
This commit is contained in:
Sour 2020-06-22 20:18:45 -04:00
parent 11795f7f51
commit fed989f216
2 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@ private:
static bool AttemptLoadBsxFirmware(uint8_t** prgRom, uint32_t& prgSize) 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) { if(firmware.IsValid() && firmware.GetSize() >= 0x8000) {
*prgRom = new uint8_t[firmware.GetSize()]; *prgRom = new uint8_t[firmware.GetSize()];
prgSize = (uint32_t)firmware.GetSize(); prgSize = (uint32_t)firmware.GetSize();
@ -94,7 +94,7 @@ public:
} }
MissingFirmwareMessage msg; MissingFirmwareMessage msg;
msg.Filename = "BsxBios.sfc"; msg.Filename = "BS-X.bin";
msg.Firmware = FirmwareType::Satellaview; msg.Firmware = FirmwareType::Satellaview;
msg.Size = 1024*1024; msg.Size = 1024*1024;
console->GetNotificationManager()->SendNotification(ConsoleNotificationType::MissingFirmware, &msg); console->GetNotificationManager()->SendNotification(ConsoleNotificationType::MissingFirmware, &msg);

View file

@ -718,7 +718,7 @@ extern "C" {
info->library_name = "Mesen-S"; info->library_name = "Mesen-S";
info->library_version = _mesenVersion.c_str(); info->library_version = _mesenVersion.c_str();
info->need_fullpath = false; 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; info->block_extract = false;
} }