mirror of
https://github.com/holub/mame
synced 2025-04-22 00:11:58 +03:00
Merge pull request #472 from kazblox/opl_playaround
fix ksl shift bits in OPL chips
This commit is contained in:
commit
d523085870
@ -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) */
|
||||
|
@ -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