gb disassembler that may or may not work

This commit is contained in:
goyuken 2014-12-14 18:24:10 +00:00
parent 0e528d22c2
commit 6ec6f82109
2 changed files with 4 additions and 1 deletions

View File

@ -273,6 +273,7 @@
<Compile Include="Consoles\Nintendo\Gameboy\Gambatte.cs" />
<Compile Include="Consoles\Nintendo\Gameboy\GambatteLink.cs" />
<Compile Include="Consoles\Nintendo\Gameboy\GBColors.cs" />
<Compile Include="Consoles\Nintendo\Gameboy\GBDisassembler.cs" />
<Compile Include="Consoles\Nintendo\Gameboy\LibGambatte.cs" />
<Compile Include="Consoles\Nintendo\GBA\ArmV4Disassembler.cs" />
<Compile Include="Consoles\Nintendo\GBA\IGBAGPUViewable.cs" />

View File

@ -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<IDisassemblable>(new GBDisassembler());
ServiceProvider = ser;
Tracer = new TraceBuffer();
InitMemoryCallbacks();
CoreComm = comm;