projects
/
wenboi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5ccedc
)
a bit more of disasm
author
slack
<slack@ommadawn.(none)>
Mon, 23 Jun 2008 02:30:26 +0000
(
04:30
+0200)
committer
slack
<slack@ommadawn.(none)>
Mon, 23 Jun 2008 02:30:26 +0000
(
04:30
+0200)
gbcore.cc
patch
|
blob
|
history
diff --git
a/gbcore.cc
b/gbcore.cc
index 292539320768a898f823859fc4237f59307dedab..5ca3b510cfc571ae89dd8da47b2b1cf1611105af 100644
(file)
--- a/
gbcore.cc
+++ b/
gbcore.cc
@@
-966,7
+966,12
@@
std::string GameBoy::get_port_name(int port) const
case 0x47: port_name = "BGP "; break;
case 0x48: port_name = "OBP0"; break;
case 0x49: port_name = "OBP1"; break;
- case 0x46: port_name = "DMA "; break;
+ case 0x46: port_name = "DMA "; break;
+ case 0xFF: port_name = "IE "; break;
+ default:
+ if (port >= 0x80 && port <= 0xFE) {
+ port_name = "HRAM";
+ }
}
return port_name;
}