From 8204ee552d65c1fdcd165e57f72ca8af7d6b9c9d Mon Sep 17 00:00:00 2001 From: adelikat Date: Mon, 11 Nov 2013 16:55:08 +0000 Subject: [PATCH] Lua - emu.getregister(s) - support A7800, but due to emu7800 usage, flags aren't supported --- .../Consoles/Atari/7800/Atari7800.Core.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/BizHawk.Emulation/Consoles/Atari/7800/Atari7800.Core.cs b/BizHawk.Emulation/Consoles/Atari/7800/Atari7800.Core.cs index f9d2094c3a..f7e015efee 100644 --- a/BizHawk.Emulation/Consoles/Atari/7800/Atari7800.Core.cs +++ b/BizHawk.Emulation/Consoles/Atari/7800/Atari7800.Core.cs @@ -18,7 +18,15 @@ namespace BizHawk.Emulation public List> GetCpuFlagsAndRegisters() { - throw new NotImplementedException(); + return new List> + { + new KeyValuePair("A", theMachine.CPU.A), + new KeyValuePair("P", theMachine.CPU.P), + new KeyValuePair("PC", theMachine.CPU.PC), + new KeyValuePair("S", theMachine.CPU.S), + new KeyValuePair("X", theMachine.CPU.X), + new KeyValuePair("Y", theMachine.CPU.Y), + }; } } }