From d986538dcfd1410c994bc8bea7d4d6351de1c7b3 Mon Sep 17 00:00:00 2001 From: hap Date: Thu, 28 Aug 2025 20:44:25 +0200 Subject: sn76496: initial volume is 0xf on sega psg --- src/devices/sound/sn76496.cpp | 4 ++-- 1 file 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; -- cgit v1.2.3