From c8bcba1e3ee2fd43a056ab3654ffee9601b5ef15 Mon Sep 17 00:00:00 2001 From: slack Date: Sun, 14 Sep 2008 03:11:06 +0200 Subject: [PATCH] Added some port names to the disassembler --- wendi/disasm.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wendi/disasm.cc b/wendi/disasm.cc index a68f060..d716cf0 100644 --- a/wendi/disasm.cc +++ b/wendi/disasm.cc @@ -10,6 +10,9 @@ std::string get_port_name(int port) switch (port) { + case 0x00: port_name = "JOYP"; break; + case 0x01: port_name = "SB "; break; + case 0x02: port_name = "SC "; break; case 0x04: port_name = "DIV "; break; case 0x05: port_name = "TIMA"; break; case 0x06: port_name = "TMA "; break; -- 2.34.1