From e71da4d8c86d561445781cc00b6ac83de12e7d2d Mon Sep 17 00:00:00 2001 From: byuu <2107894+byuu@users.noreply.github.com> Date: Mon, 7 Oct 2019 16:03:53 +0900 Subject: [PATCH] Fix detection of ST010 HLE mode when firmware is missing. Fix display of ST011 missing firmware message. --- bsnes/sfc/cartridge/load.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsnes/sfc/cartridge/load.cpp b/bsnes/sfc/cartridge/load.cpp index 94719906..21b50de9 100644 --- a/bsnes/sfc/cartridge/load.cpp +++ b/bsnes/sfc/cartridge/load.cpp @@ -530,7 +530,7 @@ auto Cartridge::loaduPD7725(Markup::Node node) -> void { if(failed) { //throw an error to the user - platform->open(ID::SuperFamicom, "", File::Read, File::Required); + platform->open(ID::SuperFamicom, "DSP3", File::Read, File::Required); return; } @@ -579,7 +579,7 @@ auto Cartridge::loaduPD96050(Markup::Node node) -> void { if(auto file = game.memory(memory)) { if(auto fp = platform->open(ID::SuperFamicom, file->name(), File::Read)) { for(auto n : range(2048)) necdsp.dataROM[n] = fp->readl(2); - } else failed = false; + } else failed = true; } } @@ -598,7 +598,7 @@ auto Cartridge::loaduPD96050(Markup::Node node) -> void { if(failed) { //throw an error to the user - platform->open(ID::SuperFamicom, "", File::Read, File::Required); + platform->open(ID::SuperFamicom, "ST011", File::Read, File::Required); return; }