From: slack Date: Sun, 14 Sep 2008 01:11:06 +0000 (+0200) Subject: Added some port names to the disassembler X-Git-Tag: v0.1~2 X-Git-Url: http://slack.codemaniacs.com/git/?a=commitdiff_plain;h=c8bcba1e3ee2fd43a056ab3654ffee9601b5ef15;p=wenboi.git Added some port names to the disassembler --- 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;