mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
ymf262: fix ksl shift bits
According to OPL3 on the OPL3 reverse engineering forum, 3.0 and 1.5 db were swapped.
This commit is contained in:
parent
d09c2b2e5d
commit
2a857842ec
@ -343,7 +343,7 @@ static const UINT32 ksl_tab[8*16]=
|
||||
#undef DV
|
||||
|
||||
/* 0 / 3.0 / 1.5 / 6.0 dB/OCT */
|
||||
static const UINT32 ksl_shift[4] = { 31, 1, 2, 0 };
|
||||
static const UINT32 ksl_shift[4] = { 31, 2, 1, 0 };
|
||||
|
||||
|
||||
/* sustain level table (3dB per step) */
|
||||
|
Loading…
Reference in New Issue
Block a user