K007232: fix getPan

This commit is contained in:
tildearrow 2023-10-01 15:06:43 -05:00
parent 6b2061a434
commit 572dbcfdd2

View file

@ -431,7 +431,7 @@ DivMacroInt* DivPlatformK007232::getChanMacroInt(int ch) {
} }
unsigned short DivPlatformK007232::getPan(int ch) { unsigned short DivPlatformK007232::getPan(int ch) {
return ((chan[ch].panning&15)<<8)|((chan[ch].panning&0xf0)>>4); return stereo?(((chan[ch].panning&15)<<8)|((chan[ch].panning&0xf0)>>4)):0;
} }
DivDispatchOscBuffer* DivPlatformK007232::getOscBuffer(int ch) { DivDispatchOscBuffer* DivPlatformK007232::getOscBuffer(int ch) {