Merge pull request #472 from kazblox/opl_playaround

fix ksl shift bits in OPL chips
This commit is contained in:
Olivier Galibert 2015-11-20 06:42:26 +01:00
commit d523085870
2 changed files with 2 additions and 2 deletions

View File

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

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