From 58a095dec260f9ed50c4b07f176aeb7810b14641 Mon Sep 17 00:00:00 2001 From: eito Date: Wed, 26 Apr 2023 16:15:24 +0900 Subject: Use correct attack/decay time nominal value when the lower 3 bits of attack/decay time data are 0x6 or 0x7. (#11153) --- src/devices/sound/msm5232.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/devices/sound/msm5232.cpp b/src/devices/sound/msm5232.cpp index b7090aaef0a..8cb2fb17a35 100644 --- a/src/devices/sound/msm5232.cpp +++ b/src/devices/sound/msm5232.cpp @@ -251,14 +251,16 @@ void msm5232_device::init_tables() for (i=0; i<8; i++) { double clockscale = (double)m_chip_clock / 2119040.0; - m_ar_tbl[i] = ((1<