NES: don't use rand() in NSFplay

This commit is contained in:
tildearrow 2023-03-01 15:21:55 -05:00
parent 814907c0a7
commit 68c88aea02
1 changed files with 0 additions and 10 deletions

View File

@ -493,16 +493,6 @@ namespace xgm
noise = 1;
noise_tap = (1<<1);
if (option[OPT_RANDOMIZE_NOISE])
{
noise |= ::rand();
counter[1] = -(rand() & 511);
}
if (option[OPT_RANDOMIZE_TRI])
{
tphase = ::rand() & 31;
counter[0] = -(rand() & 2047);
}
SetRate(rate);
}