BizHawk/BizHawk.Emulation.Cores/Consoles/PC Engine/PCEngine.IDebuggable.cs

25 lines
742 B
C#

using System;
using System.Collections.Generic;
using BizHawk.Emulation.Common;
namespace BizHawk.Emulation.Cores.PCEngine
{
public sealed partial class PCEngine : IDebuggable
{
public IDictionary<string, RegisterValue> GetCpuFlagsAndRegisters()
=> Cpu.GetCpuFlagsAndRegisters();
public void SetCpuRegister(string register, int value)
=> Cpu.SetCpuRegister(register, value);
public IMemoryCallbackSystem MemoryCallbacks { get; } = new MemoryCallbackSystem(new[] { "System Bus" });
public bool CanStep(StepType type) => false;
[FeatureNotImplemented]
public void Step(StepType type) => throw new NotImplementedException();
public long TotalExecutedCycles => Cpu.TotalExecutedCycles;
}
}