mirror of
https://github.com/86Box/86Box.git
synced 2026-02-21 17:15:32 -07:00
PSSJ: Bit 4 of port C7/1E7 is reserved and not used for amplitude
This commit is contained in:
@@ -78,7 +78,7 @@ pssj_write(uint16_t port, uint8_t val, void *priv)
|
||||
break;
|
||||
case 3:
|
||||
pssj->freq = (pssj->freq & 0x0ff) | ((val & 0xf) << 8);
|
||||
pssj->amplitude = val >> 4;
|
||||
pssj->amplitude = (val & 0xef) >> 4;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user