YM2612: fix getPan on ExtCh channel 5
This commit is contained in:
parent
e915c6efb9
commit
38103d9c1f
|
|
@ -800,7 +800,7 @@ DivMacroInt* DivPlatformGenesisExt::getChanMacroInt(int ch) {
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned short DivPlatformGenesisExt::getPan(int ch) {
|
unsigned short DivPlatformGenesisExt::getPan(int ch) {
|
||||||
if (ch==csmChan) return 0;
|
if (ch==4+csmChan) return 0;
|
||||||
if (ch>=4+extChanOffs) return DivPlatformGenesis::getPan(ch-3);
|
if (ch>=4+extChanOffs) return DivPlatformGenesis::getPan(ch-3);
|
||||||
if (ch>=extChanOffs) {
|
if (ch>=extChanOffs) {
|
||||||
if (extMode) {
|
if (extMode) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue