FINALLY FIX THE CRASH

YES

issue #2215
This commit is contained in:
tildearrow 2024-11-04 03:08:32 -05:00
parent 92a615eefc
commit a54fb85288
3 changed files with 3 additions and 3 deletions

View file

@ -1701,7 +1701,7 @@ void DivPlatformYM2610B::muteChannel(int ch, bool mute) {
}
void DivPlatformYM2610B::forceIns() {
for (int i=0; i<psgChanOffs; i++) {
for (int i=0; i<(psgChanOffs-isCSM); i++) {
for (int j=0; j<4; j++) {
unsigned short baseAddr=chanOffs[i]|opOffs[j];
DivInstrumentFM::Operator& op=chan[i].state.op[j];

View file

@ -694,7 +694,7 @@ void DivPlatformYM2610BExt::muteChannel(int ch, bool mute) {
}
void DivPlatformYM2610BExt::forceIns() {
for (int i=0; i<psgChanOffs; i++) {
for (int i=0; i<(psgChanOffs-isCSM); i++) {
for (int j=0; j<4; j++) {
unsigned short baseAddr=chanOffs[i]|opOffs[j];
DivInstrumentFM::Operator& op=chan[i].state.op[j];

View file

@ -693,7 +693,7 @@ void DivPlatformYM2610Ext::muteChannel(int ch, bool mute) {
}
void DivPlatformYM2610Ext::forceIns() {
for (int i=0; i<psgChanOffs; i++) {
for (int i=0; i<(psgChanOffs-isCSM); i++) {
for (int j=0; j<4; j++) {
unsigned short baseAddr=chanOffs[i]|opOffs[j];
DivInstrumentFM::Operator& op=chan[i].state.op[j];