1
0
Fork 0

Change to ensure correct number of channels played

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1471
This commit is contained in:
Dean Beeler 2003-12-03 01:30:28 +00:00
parent 5ad16d2037
commit 9f1e9e305d

View file

@ -704,7 +704,7 @@ static void ExecuteGlobRegister(void) {
}
break;
case 0xE: // Set active channel register
myGUS.activechan = myGUS.gRegData & 63;
myGUS.activechan = (myGUS.gRegData & 31) + 1;
if(myGUS.activechan < 14) myGUS.activechan = 14;
if(myGUS.activechan > 32) myGUS.activechan = 32;
MIXER_Enable(gus_chan,true);