dev170 - YM2151: fix noise frequency on ymfm
issue #1441 raising ver num to allow possible compat change
This commit is contained in:
parent
426d4b44f0
commit
63dcacf33d
4 changed files with 12 additions and 6 deletions
|
|
@ -176,7 +176,7 @@ int32_t opm_registers::clock_noise_and_lfo()
|
|||
{
|
||||
// base noise frequency is measured at 2x 1/2 FM frequency; this
|
||||
// means each tick counts as two steps against the noise counter
|
||||
uint32_t freq = noise_frequency();
|
||||
uint32_t freq = noise_frequency() ^ 0x1f;
|
||||
for (int rep = 0; rep < 2; rep++)
|
||||
{
|
||||
// evidence seems to suggest the LFSR is clocked continually and just
|
||||
|
|
|
|||
|
|
@ -327,7 +327,7 @@ int32_t opz_registers::clock_noise_and_lfo()
|
|||
{
|
||||
// base noise frequency is measured at 2x 1/2 FM frequency; this
|
||||
// means each tick counts as two steps against the noise counter
|
||||
uint32_t freq = noise_frequency();
|
||||
uint32_t freq = noise_frequency() ^ 0x1f;
|
||||
for (int rep = 0; rep < 2; rep++)
|
||||
{
|
||||
// evidence seems to suggest the LFSR is clocked continually and just
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue