Fix detection of ST010 HLE mode when firmware is missing.

Fix display of ST011 missing firmware message.
This commit is contained in:
byuu 2019-10-07 16:03:53 +09:00
parent e78aca34b9
commit e71da4d8c8
1 changed files with 3 additions and 3 deletions

View File

@ -530,7 +530,7 @@ auto Cartridge::loaduPD7725(Markup::Node node) -> void {
if(failed) {
//throw an error to the user
platform->open(ID::SuperFamicom, "<DSP1-4>", 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, "<ST010-011>", File::Read, File::Required);
platform->open(ID::SuperFamicom, "ST011", File::Read, File::Required);
return;
}