Lynx panning swap
This commit is contained in:
parent
7971b7323b
commit
e775703c44
|
@ -235,7 +235,7 @@ int DivPlatformLynx::dispatch(DivCommand c) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case DIV_CMD_PANNING:
|
case DIV_CMD_PANNING:
|
||||||
chan[c.chan].pan=((c.value&0x0f)<<4)|((c.value&0xf0)>>4);
|
chan[c.chan].pan=c.value;
|
||||||
WRITE_ATTEN(c.chan,chan[c.chan].pan);
|
WRITE_ATTEN(c.chan,chan[c.chan].pan);
|
||||||
break;
|
break;
|
||||||
case DIV_CMD_GET_VOLUME:
|
case DIV_CMD_GET_VOLUME:
|
||||||
|
|
|
@ -435,8 +435,8 @@ public:
|
||||||
case ATTENREG2:
|
case ATTENREG2:
|
||||||
case ATTENREG3:
|
case ATTENREG3:
|
||||||
mRegisterPool[8*4+idx] = value;
|
mRegisterPool[8*4+idx] = value;
|
||||||
mAttenuationLeft[idx] = ( value & 0x0f ) << 2;
|
mAttenuationRight[idx] = ( value & 0x0f ) << 2;
|
||||||
mAttenuationRight[idx] = ( value & 0xf0 ) >> 2;
|
mAttenuationLeft[idx] = ( value & 0xf0 ) >> 2;
|
||||||
break;
|
break;
|
||||||
case MPAN:
|
case MPAN:
|
||||||
mPan = value;
|
mPan = value;
|
||||||
|
|
Loading…
Reference in New Issue