mirror of https://github.com/bsnes-emu/bsnes.git
Hotfix for Magical Drop (Japan)'s "tokoton mode"
This commit is contained in:
parent
3701236ca0
commit
4efee7e9f1
|
@ -60,6 +60,14 @@ auto DSP::power(bool reset) -> void {
|
|||
spc_dsp.soft_reset();
|
||||
spc_dsp.set_output(samplebuffer, 8192);
|
||||
}
|
||||
|
||||
if(configuration.hacks.hotfixes) {
|
||||
//Magical Drop (Japan) does not initialize the DSP registers at startup.
|
||||
//Tokoton mode will hang forever in some instances even on real hardware.
|
||||
if(cartridge.headerTitle() == "MAGICAL DROP") {
|
||||
for(uint address : range(0x80)) spc_dsp.write(address, 0xff);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto DSP::mute() -> bool {
|
||||
|
|
Loading…
Reference in New Issue