fix NESHawk mistakenly having cycle count complained about
This commit is contained in:
parent
2c232a2b81
commit
97a11ec083
|
@ -11,7 +11,7 @@ using BizHawk.Emulation.Cores.Components.M6502;
|
|||
|
||||
namespace BizHawk.Emulation.Cores.Nintendo.NES
|
||||
{
|
||||
public partial class NES : IEmulator, ISoundProvider, ICycleTiming
|
||||
public partial class NES : IEmulator, ISoundProvider/*, ICycleTiming*/
|
||||
{
|
||||
internal static class RomChecksums
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.SubNESHawk
|
|||
[Core(CoreNames.SubNesHawk, "")]
|
||||
[ServiceNotApplicable(new[] { typeof(IDriveLight) })]
|
||||
public partial class SubNESHawk : IEmulator, IStatable, IInputPollable,
|
||||
ISettable<NES.NES.NESSettings, NES.NES.NESSyncSettings>
|
||||
ISettable<NES.NES.NESSettings, NES.NES.NESSyncSettings>, ICycleTiming
|
||||
{
|
||||
[CoreConstructor(VSystemID.Raw.NES, Priority = CorePriority.SuperLow)]
|
||||
public SubNESHawk(CoreComm comm, GameInfo game, byte[] rom, /*string gameDbFn,*/ NES.NES.NESSettings settings, NES.NES.NESSyncSettings syncSettings)
|
||||
|
@ -36,7 +36,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.SubNESHawk
|
|||
ser.Register(_nesCore.ServiceProvider.GetService<IDebuggable>());
|
||||
ser.Register(_nesCore.ServiceProvider.GetService<IRegionable>());
|
||||
ser.Register(_nesCore.ServiceProvider.GetService<ICodeDataLogger>());
|
||||
ser.Register(_nesCore.ServiceProvider.GetService<ICycleTiming>());
|
||||
|
||||
const string TRACE_HEADER = "6502: PC, machine code, mnemonic, operands, registers (A, X, Y, P, SP), flags (NVTBDIZCR), CPU Cycle, PPU Cycle";
|
||||
_tracer = new TraceBuffer(TRACE_HEADER);
|
||||
|
@ -77,5 +76,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.SubNESHawk
|
|||
public NES.NES.NESSyncSettings GetSyncSettings() => _nesCore.GetSyncSettings();
|
||||
public PutSettingsDirtyBits PutSettings(NES.NES.NESSettings o) => _nesCore.PutSettings(o);
|
||||
public PutSettingsDirtyBits PutSyncSettings(NES.NES.NESSyncSettings o) => _nesCore.PutSyncSettings(o);
|
||||
|
||||
public long CycleCount => _nesCore.CycleCount;
|
||||
public double ClockRate => _nesCore.ClockRate;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue