total extinction of legacy sample mode, part 10

it's ready! you must merge, now!
This commit is contained in:
tildearrow 2025-11-10 04:43:45 -05:00
parent edb1395058
commit 55c3966eda
5 changed files with 40 additions and 4 deletions

View file

@ -133,6 +133,7 @@ bool DivEngine::convertLegacySampleMode() {
continue;
}
sampleMode=1;
preferredInsType=DIV_INS_NES;
break;
case DIV_SYSTEM_MMC5:
// MMC5 PCM channel
@ -186,6 +187,22 @@ bool DivEngine::convertLegacySampleMode() {
preferredInsType=DIV_INS_ADPCMA;
preferredInsType2=DIV_INS_ADPCMB;
break;
case DIV_SYSTEM_YM2612_DUALPCM:
// DualPCM DAC
if (dispatchChanOfChan[i]<5) {
continue;
}
sampleMode=1;
hasLegacyToggle=true;
break;
case DIV_SYSTEM_YM2612_DUALPCM_EXT:
// DualPCM DAC
if (dispatchChanOfChan[i]<8 || dispatchChanOfChan[i]>9) {
continue;
}
sampleMode=1;
hasLegacyToggle=true;
break;
case DIV_SYSTEM_YM2610_CSM:
// Neo Geo CD ADPCM channels
if (dispatchChanOfChan[i]<11) {