OPL: "fix" stereo in OPL1/2

This commit is contained in:
tildearrow 2022-09-16 02:00:42 -05:00
parent 587e066d43
commit 6b0aee8cf7
1 changed files with 4 additions and 2 deletions

View File

@ -249,7 +249,9 @@ void DivPlatformOPL::acquire_nuked(short* bufL, short* bufR, size_t start, size_
if (os[1]>32767) os[1]=32767; if (os[1]>32767) os[1]=32767;
bufL[h]=os[0]; bufL[h]=os[0];
bufR[h]=os[1]; if (oplType==3 || oplType==759) {
bufR[h]=os[1];
}
} }
} }
@ -1520,7 +1522,7 @@ void DivPlatformOPL::reset() {
} }
bool DivPlatformOPL::isStereo() { bool DivPlatformOPL::isStereo() {
return true; return (oplType==3 || oplType==759);
} }
bool DivPlatformOPL::keyOffAffectsArp(int ch) { bool DivPlatformOPL::keyOffAffectsArp(int ch) {