mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-10 21:05:12 +01:00
[Core/Sound] fixed PSG power-on latched register (verified on VA4 MD1 hardware)
Initial test that indicated power-on latched register was noise attenuation register was flawed because it wasn't done after a "cold" power-on. It appears the latched value is not totally reseted when doing a quick power off/on cycle (which was done with initial test) and would keep last value being set.
This commit is contained in:
parent
5a74df31ee
commit
cc056b92db
@ -130,8 +130,8 @@ void psg_reset()
|
||||
psg.chanOut[i][1] = 0;
|
||||
}
|
||||
|
||||
/* noise attenuation register is latched on power-on (verified on 315-5313A & 315-5660 integrated version only) */
|
||||
psg.latch = 7;
|
||||
/* tone #2 attenuation register is latched on power-on (verified on 315-5313A integrated version only) */
|
||||
psg.latch = 3;
|
||||
|
||||
/* reset noise shift register */
|
||||
psg.noiseShiftValue = 1 << psg.noiseShiftWidth;
|
||||
|
Loading…
Reference in New Issue
Block a user