NESHawk: update apu start state to better match console

This commit is contained in:
alyosha-tas 2021-07-20 18:50:33 -04:00
parent 8cd67529a3
commit 864086c510
2 changed files with 2 additions and 2 deletions

View File

@ -515,7 +515,7 @@ namespace BizHawk.Emulation.Cores.Components.M6502
private byte opcode2, opcode3;
private int ea, alu_temp; //cpu internal temp variables
private int mi; //microcode index
public int mi; //microcode index
private bool iflag_pending; //iflag must be stored after it is checked in some cases (CLI and SEI).
public bool rdy_freeze; //true if the CPU must be frozen

View File

@ -662,7 +662,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
out_silence = true;
DMC_RATE = pal ? DMC_RATE_PAL : DMC_RATE_NTSC;
timer_reload = DMC_RATE[0];
timer = 1024-1; // confirmed in VisualNES although aligning controller read glitches still doesn't work
timer = 1021; // confirmed in VisualNES although aligning controller read glitches still doesn't work
sample_buffer_filled = false;
out_deltacounter = 64;
out_bits_remaining = 7; //confirmed in VisualNES