From 76c76a8775e12dbd2e6a6b595589c989927c93e7 Mon Sep 17 00:00:00 2001 From: alyosha-tas Date: Thu, 24 Jun 2021 23:04:26 -0400 Subject: [PATCH] NESHawk: Update start up state again, fixes Paperboy --- src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.cs | 4 ++-- src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.regs.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.cs index f60bc038e5..aa405a8dad 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.cs @@ -354,11 +354,11 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES { regs_reset(); ppudead = 1; - idleSynch = false; + idleSynch = true; ppu_open_bus = 0; ppu_open_bus_decay_timer = new int[8]; double_2007_read = 0; - start_up_offset = -4; + start_up_offset = 4; } private void runppu() diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.regs.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.regs.cs index 12e448ee5e..ea5102cb26 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.regs.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.regs.cs @@ -303,9 +303,9 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES ppur = new PPUREGS(); reg_2000 = new Reg_2000(ppur); reg_2001 = new Reg_2001(); - Reg2002_objoverflow = true; + Reg2002_objoverflow = false; Reg2002_objhit = false; - Reg2002_vblank_active = true; + Reg2002_vblank_active = false; PPUGenLatch = 0; reg_2003 = 0; vtoggle = false;