From 6ec6f82109b1ded30fa8c67df47dab8687c273ef Mon Sep 17 00:00:00 2001 From: goyuken Date: Sun, 14 Dec 2014 18:24:10 +0000 Subject: [PATCH] gb disassembler that may or may not work --- BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj | 1 + BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/Gambatte.cs | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj b/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj index c76ea7263c..973b804500 100644 --- a/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj +++ b/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj @@ -273,6 +273,7 @@ + diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/Gambatte.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/Gambatte.cs index 18c412e4c4..b446dfe8d1 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/Gambatte.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/Gambatte.cs @@ -125,7 +125,9 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy [CoreConstructor("GB", "GBC")] public Gameboy(CoreComm comm, GameInfo game, byte[] file, object Settings, object SyncSettings, bool deterministic) { - ServiceProvider = new BasicServiceProvider(this); + var ser = new BasicServiceProvider(this); + ser.Register(new GBDisassembler()); + ServiceProvider = ser; Tracer = new TraceBuffer(); InitMemoryCallbacks(); CoreComm = comm;