implement getSamplePos() on some chips

Amiga, AY, Lynx, PCE, PCM DAC and VRC6
This commit is contained in:
tildearrow 2023-03-19 03:56:13 -05:00
parent f80a2b8864
commit 6cd24a8008
15 changed files with 75 additions and 0 deletions

View file

@ -1210,6 +1210,7 @@ DivMacroInt* DivPlatformGenesis::getChanMacroInt(int ch) {
}
DivSamplePos DivPlatformGenesis::getSamplePos(int ch) {
if (!chan[5].dacMode) return DivSamplePos();
if (ch<5) return DivSamplePos();
if (ch>5 && !softPCM) return DivSamplePos();
return DivSamplePos(