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:
parent
5ad16d2037
commit
9f1e9e305d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue