fix opl3 4op connection mode selection
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3175
This commit is contained in:
parent
d204f38ea5
commit
b77f1e69e3
1 changed files with 2 additions and 2 deletions
|
@ -2103,7 +2103,7 @@ static void OPL3WriteReg(OPL3 *chip, int r, int v)
|
|||
case 9: case 10: case 11:
|
||||
if (CH->extended)
|
||||
{
|
||||
UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0);
|
||||
UINT8 conn = (CH->SLOT[SLOT1].CON<<1) | ((CH+3)->SLOT[SLOT1].CON<<0);
|
||||
switch(conn)
|
||||
{
|
||||
case 0:
|
||||
|
@ -2155,7 +2155,7 @@ static void OPL3WriteReg(OPL3 *chip, int r, int v)
|
|||
case 12: case 13: case 14:
|
||||
if ((CH-3)->extended)
|
||||
{
|
||||
UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0);
|
||||
UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) | (CH->SLOT[SLOT1].CON<<0);
|
||||
switch(conn)
|
||||
{
|
||||
case 0:
|
||||
|
|
Loading…
Add table
Reference in a new issue