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:
kazblox 2015-11-18 21:52:28 -05:00
parent d09c2b2e5d
commit 2a857842ec

View File

@ -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) */