Possibly fix reversed loop with reversed playback

This commit is contained in:
cam900 2023-01-16 10:08:10 +09:00
parent 46865b3adb
commit 16da587dec
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ void DivPlatformES5506::e_pin(bool state) {
if (!queuedRead.empty()) {
unsigned char ch=queuedRead.front()&0x1f;
if (chan[ch].isReverseLoop) { // Reversed loop
pageWriteMask(0x00|ch,0x5f,0x00,(0x0040)|0x08,0x78);
pageWriteMask(0x00|ch,0x5f,0x00,(chan[ch].pcm.direction?0x0000:0x0040)|0x08,0x78);
chan[ch].isReverseLoop=false;
}
queuedRead.pop();