mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-24 01:29:41 +00:00
Noise: Initialized period to the first entry in the LUT. FDS bios doesn't initialize the noise channel's period, making it run every single clock until a game is launched.
This commit is contained in:
parent
9aab7fd741
commit
a8e2d72a73
@ -44,6 +44,7 @@ public:
|
||||
{
|
||||
ApuEnvelope::Reset(softReset);
|
||||
|
||||
_period = (GetNesModel() == NesModel::NTSC ? _noisePeriodLookupTableNtsc : _noisePeriodLookupTablePal)[0] - 1;
|
||||
_shiftRegister = 1;
|
||||
_modeFlag = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user