diff options
| author | 2025-08-28 20:44:25 +0200 | |
|---|---|---|
| committer | 2025-08-28 20:44:25 +0200 | |
| commit | d986538dcfd1410c994bc8bea7d4d6351de1c7b3 (patch) | |
| tree | 056c93406bf64417d798d8ba64917ecd04b56c4c | |
| parent | 745117446e3a6c3f86329d2ec9c535935f18eac6 (diff) | |
sn76496: initial volume is 0xf on sega psg
| -rw-r--r-- | src/devices/sound/sn76496.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/sn76496.cpp b/src/devices/sound/sn76496.cpp index 016a57c563e..5cf995669be 100644 --- a/src/devices/sound/sn76496.cpp +++ b/src/devices/sound/sn76496.cpp @@ -233,7 +233,7 @@ void sn76496_base_device::device_start() for (int i = 0; i < 8; i += 2) { m_register[i] = 0; - m_register[i + 1] = 0x0; // volume = 0x0 (max volume) on reset; this needs testing on chips other than SN76489A and Sega VDP PSG + m_register[i + 1] = m_sega_style_psg ? 0xf : 0; // volume = 0x0 (max volume) on reset; this needs testing on chips other than SN76489A and Sega VDP PSG } for (int i = 0; i < 4; i++) @@ -272,7 +272,7 @@ void sn76496_base_device::device_start() m_vol_table[15] = 0; for (int i = 0; i < 4; i++) - m_volume[i] = m_vol_table[8]; + m_volume[i] = m_vol_table[m_register[i * 2 + 1]]; m_ready_state = true; |
