total extinction of legacy sample mode, part 2

remove legacy sample bank completely
This commit is contained in:
tildearrow 2025-11-08 15:17:56 -05:00
parent 416148bd62
commit 0602a2f811
41 changed files with 10 additions and 1016 deletions

View file

@ -330,12 +330,6 @@ int DivPlatformSegaPCM::dispatch(DivCommand c) {
chan[c.chan].freqChanged=true;
break;
}
case DIV_CMD_SAMPLE_BANK:
sampleBank=c.value;
if (sampleBank>(parent->song.sample.size()/12)) {
sampleBank=parent->song.sample.size()/12;
}
break;
case DIV_CMD_SAMPLE_POS:
chan[c.chan].pcm.pos=c.value;
chan[c.chan].setPos=true;
@ -475,7 +469,6 @@ void DivPlatformSegaPCM::reset() {
pcmCycles=0;
pcmL=0;
pcmR=0;
sampleBank=0;
delay=0;
pcm.device_start();