GGHawkLink: tracelogger
This commit is contained in:
parent
5665617d9b
commit
ea92bdcc66
|
@ -4,7 +4,7 @@ using BizHawk.Emulation.Common;
|
|||
|
||||
namespace BizHawk.Emulation.Cores.Sega.MasterSystem
|
||||
{
|
||||
public sealed partial class SMS : ICodeDataLogger
|
||||
public partial class SMS : ICodeDataLogger
|
||||
{
|
||||
public void SetCDL(ICodeDataLog cdl)
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@ using BizHawk.Emulation.Common;
|
|||
|
||||
namespace BizHawk.Emulation.Cores.Sega.MasterSystem
|
||||
{
|
||||
public sealed partial class SMS : IDebuggable
|
||||
public partial class SMS : IDebuggable
|
||||
{
|
||||
public IDictionary<string, RegisterValue> GetCpuFlagsAndRegisters()
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace BizHawk.Emulation.Cores.Sega.MasterSystem
|
||||
{
|
||||
public sealed partial class SMS : IEmulator
|
||||
public partial class SMS : IEmulator
|
||||
{
|
||||
public IEmulatorServiceProvider ServiceProvider { get; }
|
||||
|
||||
|
@ -97,15 +97,6 @@ namespace BizHawk.Emulation.Cores.Sega.MasterSystem
|
|||
_frame++;
|
||||
PSG.BeginFrame(Cpu.TotalExecutedCycles);
|
||||
|
||||
if (Tracer.Enabled)
|
||||
{
|
||||
Cpu.TraceCallback = s => Tracer.Put(s);
|
||||
}
|
||||
else
|
||||
{
|
||||
Cpu.TraceCallback = null;
|
||||
}
|
||||
|
||||
if (!IsGameGear && IsGameGear_C)
|
||||
{
|
||||
Cpu.NonMaskableInterrupt = start_pressed;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace BizHawk.Emulation.Cores.Sega.MasterSystem
|
||||
{
|
||||
public sealed partial class SMS : IInputPollable
|
||||
public partial class SMS : IInputPollable
|
||||
{
|
||||
public int LagCount
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@ using BizHawk.Emulation.Common;
|
|||
|
||||
namespace BizHawk.Emulation.Cores.Sega.MasterSystem
|
||||
{
|
||||
public sealed partial class SMS
|
||||
public partial class SMS
|
||||
{
|
||||
private MemoryDomainList MemoryDomains;
|
||||
private readonly Dictionary<string, MemoryDomainByteArray> _byteArrayDomains = new Dictionary<string, MemoryDomainByteArray>();
|
||||
|
|
|
@ -4,7 +4,7 @@ using BizHawk.Emulation.Common;
|
|||
|
||||
namespace BizHawk.Emulation.Cores.Sega.MasterSystem
|
||||
{
|
||||
public sealed partial class SMS : ISaveRam
|
||||
public partial class SMS : ISaveRam
|
||||
{
|
||||
public byte[] CloneSaveRam()
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace BizHawk.Emulation.Cores.Sega.MasterSystem
|
||||
{
|
||||
public sealed partial class SMS : ISettable<SMS.SMSSettings, SMS.SMSSyncSettings>
|
||||
public partial class SMS : ISettable<SMS.SMSSettings, SMS.SMSSyncSettings>
|
||||
{
|
||||
public SMSSettings GetSettings()
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
namespace BizHawk.Emulation.Cores.Sega.MasterSystem
|
||||
{
|
||||
// Sound refactor TODO: Implement ISoundProvider without the need for FakeSyncSound
|
||||
public sealed partial class SMS
|
||||
public partial class SMS
|
||||
{
|
||||
private FakeSyncSound _fakeSyncSound;
|
||||
private IAsyncSoundProvider ActiveSoundProvider;
|
||||
|
|
|
@ -6,7 +6,7 @@ using BizHawk.Emulation.Common;
|
|||
|
||||
namespace BizHawk.Emulation.Cores.Sega.MasterSystem
|
||||
{
|
||||
public sealed partial class SMS : IStatable
|
||||
public partial class SMS : IStatable
|
||||
{
|
||||
public bool BinarySaveStatesPreferred
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace BizHawk.Emulation.Cores.Sega.MasterSystem
|
|||
isPorted: false,
|
||||
isReleased: true)]
|
||||
[ServiceNotApplicable(typeof(IDriveLight))]
|
||||
public sealed partial class SMS : IEmulator, ISaveRam, IStatable, IInputPollable, IRegionable,
|
||||
public partial class SMS : IEmulator, ISaveRam, IStatable, IInputPollable, IRegionable,
|
||||
IDebuggable, ISettable<SMS.SMSSettings, SMS.SMSSyncSettings>, ICodeDataLogger
|
||||
{
|
||||
[CoreConstructor("SMS", "SG", "GG")]
|
||||
|
@ -262,7 +262,7 @@ namespace BizHawk.Emulation.Cores.Sega.MasterSystem
|
|||
|
||||
public DisplayType Region { get; set; }
|
||||
|
||||
private ITraceable Tracer { get; set; }
|
||||
private readonly ITraceable Tracer;
|
||||
|
||||
string DetermineRegion(string gameRegion)
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace BizHawk.Emulation.Cores.Sega.MasterSystem
|
|||
public enum VdpMode { SMS, GameGear }
|
||||
|
||||
// Emulates the Texas Instruments TMS9918 VDP.
|
||||
public sealed partial class VDP : IVideoProvider
|
||||
public partial class VDP : IVideoProvider
|
||||
{
|
||||
// VDP State
|
||||
public byte[] VRAM = new byte[0x4000]; //16kb video RAM
|
||||
|
|
Loading…
Reference in New Issue