diff --git a/BizHawk.Emulation/Consoles/PC Engine/PCEngine.cs b/BizHawk.Emulation/Consoles/PC Engine/PCEngine.cs index 317ff7e53b..0de404e926 100644 --- a/BizHawk.Emulation/Consoles/PC Engine/PCEngine.cs +++ b/BizHawk.Emulation/Consoles/PC Engine/PCEngine.cs @@ -600,7 +600,22 @@ namespace BizHawk.Emulation.Consoles.TurboGrafx public List> GetCpuFlagsAndRegisters() { - throw new NotImplementedException(); + return new List> + { + new KeyValuePair("A", Cpu.A), + new KeyValuePair("X", Cpu.X), + new KeyValuePair("Y", Cpu.Y), + new KeyValuePair("PC", Cpu.PC), + new KeyValuePair("S", Cpu.S), + new KeyValuePair("MPR-0", Cpu.MPR[0]), + new KeyValuePair("MPR-1", Cpu.MPR[1]), + new KeyValuePair("MPR-2", Cpu.MPR[2]), + new KeyValuePair("MPR-3", Cpu.MPR[3]), + new KeyValuePair("MPR-4", Cpu.MPR[4]), + new KeyValuePair("MPR-5", Cpu.MPR[5]), + new KeyValuePair("MPR-6", Cpu.MPR[6]), + new KeyValuePair("MPR-7", Cpu.MPR[7]), + }; } public void Dispose()