Skip to content

Commit

Permalink
Register IDriveLight for SubNesHawk
Browse files Browse the repository at this point in the history
fixes another issue pointed out in #3949
  • Loading branch information
CasualPokePlayer committed Jun 17, 2024
1 parent d286968 commit 145e043
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
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>, ICycleTiming
{
Expand Down Expand Up @@ -36,6 +35,7 @@ public SubNESHawk(CoreComm comm, GameInfo game, byte[] rom, /*string gameDbFn,*/
ser.Register(_nesCore.ServiceProvider.GetService<IDebuggable>());
ser.Register(_nesCore.ServiceProvider.GetService<IRegionable>());
ser.Register(_nesCore.ServiceProvider.GetService<ICodeDataLogger>());
ser.Register(_nesCore.ServiceProvider.GetService<IDriveLight>());

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);
Expand Down

0 comments on commit 145e043

Please sign in to comment.