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
|
|
@ -56,8 +56,8 @@
|
|||
|
||||
#define DIV_UNSTABLE
|
||||
|
||||
#define DIV_VERSION "dev169"
|
||||
#define DIV_ENGINE_VERSION 169
|
||||
#define DIV_VERSION "dev170"
|
||||
#define DIV_ENGINE_VERSION 170
|
||||
// for imports
|
||||
#define DIV_VERSION_MOD 0xff01
|
||||
#define DIV_VERSION_FC 0xff02
|
||||
|
|
|
|||
|
|
@ -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