Synchronize the OPL4 PCM per-channel OSC volume between the openMSX core and the ymfm core.

Also add psikyo arcade presets.
This commit is contained in:
cam900 2024-07-17 18:15:23 +09:00
parent 49c214f72e
commit 4174be22c1
2 changed files with 25 additions and 1 deletions

View file

@ -646,7 +646,7 @@ void DivPlatformOPL::acquire_ymfm4(short** buf, size_t len) {
chOut+=pcmChan[i]->debug_output(1);
chOut+=pcmChan[i]->debug_output(2);
chOut+=pcmChan[i]->debug_output(3);
oscBuf[oscOffs]->data[oscBuf[oscOffs]->needle++]=CLAMP(chOut,-32768,32767);
oscBuf[oscOffs]->data[oscBuf[oscOffs]->needle++]=CLAMP(chOut<<1,-32768,32767);
}
}
}