Corrected read value of SB16 mixer register 0xa. Fixes SimCity 2000 SB16 detection.
This commit is contained in:
parent
98a9c975f4
commit
a9ae16b0bf
1 changed files with 1 additions and 1 deletions
|
|
@ -772,7 +772,7 @@ uint8_t sb_ct1745_mixer_read(uint16_t addr, void *p)
|
|||
case 0x04:
|
||||
return ((mixer->regs[0x33] >> 4) & 0x0f) | (mixer->regs[0x32] & 0xf0);
|
||||
case 0x0a:
|
||||
return (mixer->regs[0x2a] - 10) / 3;
|
||||
return (mixer->regs[0x3a] - 10) / 3;
|
||||
case 0x22:
|
||||
return ((mixer->regs[0x31] >> 4) & 0x0f) | (mixer->regs[0x30] & 0xf0);
|
||||
case 0x26:
|
||||
|
|
|
|||
Loading…
Reference in a new issue