mirror of
https://github.com/SourMesen/Mesen2.git
synced 2025-04-02 10:21:44 -04:00
PCE: Fixed (?) frequency for noise
Matches what PCEHawk and Mednafen sound like
This commit is contained in:
parent
6515d4d41c
commit
94927419d6
1 changed files with 2 additions and 2 deletions
|
@ -17,9 +17,9 @@ void PcePsgChannel::Init(uint8_t index, PcePsg* psg)
|
|||
uint32_t PcePsgChannel::GetNoisePeriod()
|
||||
{
|
||||
if(_state.NoiseFrequency == 0x1F) {
|
||||
return (0x1F + 1) * 128;
|
||||
return (0x1F + 1) * 64;
|
||||
} else {
|
||||
return ((~_state.NoiseFrequency) & 0x1F) * 128;
|
||||
return ((~_state.NoiseFrequency) & 0x1F) * 64;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue