OPL: VGM reset after initializing OPL3 mode

This commit is contained in:
tildearrow 2025-04-21 03:25:07 -05:00
parent 70ed57b7f5
commit 7aa735857c

View file

@ -2862,10 +2862,6 @@ void DivPlatformOPL::reset() {
} }
pcm.reset(); pcm.reset();
if (dumpWrites) {
addWrite(0xffffffff,0);
}
properDrums=properDrumsSys; properDrums=properDrumsSys;
if (oplType==3) { if (oplType==3) {
chanMap=properDrums?chanMapOPL3Drums:chanMapOPL3; chanMap=properDrums?chanMapOPL3Drums:chanMapOPL3;
@ -2947,6 +2943,10 @@ void DivPlatformOPL::reset() {
} }
} }
if (dumpWrites) {
addWrite(0xffffffff,0);
}
update4OpMask=true; update4OpMask=true;
dam=false; dam=false;
dvb=false; dvb=false;