From 05dedc67e20ec353cd0821f89ee5fbafdd997a3c Mon Sep 17 00:00:00 2001 From: goyuken Date: Sun, 19 Oct 2014 22:19:53 +0000 Subject: [PATCH] 6502: add rdy_freeze to savestates; should only affect c64 stuff --- BizHawk.Emulation.Cores/CPUs/MOS 6502X/MOS6502X.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/BizHawk.Emulation.Cores/CPUs/MOS 6502X/MOS6502X.cs b/BizHawk.Emulation.Cores/CPUs/MOS 6502X/MOS6502X.cs index 25329325b7..1281562d84 100644 --- a/BizHawk.Emulation.Cores/CPUs/MOS 6502X/MOS6502X.cs +++ b/BizHawk.Emulation.Cores/CPUs/MOS 6502X/MOS6502X.cs @@ -85,7 +85,7 @@ namespace BizHawk.Emulation.Cores.Components.M6502 public bool IRQ; public bool NMI; - public bool RDY; + public bool RDY; public void SyncState(Serializer ser) { @@ -98,7 +98,7 @@ namespace BizHawk.Emulation.Cores.Components.M6502 ser.Sync("S", ref S); ser.Sync("NMI", ref NMI); ser.Sync("IRQ", ref IRQ); - ser.Sync("RDY", ref RDY); + ser.Sync("RDY", ref RDY); ser.Sync("TotalExecutedCycles", ref TotalExecutedCycles); ser.Sync("opcode", ref opcode); ser.Sync("opcode2", ref opcode2); @@ -109,6 +109,7 @@ namespace BizHawk.Emulation.Cores.Components.M6502 ser.Sync("iflag_pending", ref iflag_pending); ser.Sync("interrupt_pending", ref interrupt_pending); ser.Sync("branch_irq_hack", ref branch_irq_hack); + ser.Sync("rdy_freeze", ref rdy_freeze); ser.EndSection(); } @@ -245,4 +246,4 @@ namespace BizHawk.Emulation.Cores.Components.M6502 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }; } -} \ No newline at end of file +}