From 5a1c082236ec3b3f741aabd13bcc5d04cbca1d26 Mon Sep 17 00:00:00 2001
From: goyuken <goyuken@4bbf4f03-6f44-549e-7e59-35d4b0962838>
Date: Sun, 14 Dec 2014 18:35:35 +0000
Subject: [PATCH] bleh

---
 .../Nintendo/Gameboy/GBDisassembler.cs        | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GBDisassembler.cs

diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GBDisassembler.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GBDisassembler.cs
new file mode 100644
index 0000000000..49b70e768c
--- /dev/null
+++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GBDisassembler.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using BizHawk.Emulation.Common;
+
+namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
+{
+	public class GBDisassembler : VerifiedDisassembler
+	{
+		public override IEnumerable<string> AvailableCpus
+		{
+			get { yield return "Z80GB"; }
+		}
+
+		public override string PCRegisterName
+		{
+			get { return "PC"; }
+		}
+
+		public override string Disassemble(MemoryDomain m, uint addr, out int length)
+		{
+			ushort tmp;
+			string ret = Common.Components.Z80GB.NewDisassembler.Disassemble((ushort)addr, (a) => m.PeekByte(a), out tmp);
+			length = tmp;
+			return ret;
+		}
+	}
+}