aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2018-12-13 15:03:06 +0100
committerStapleButter <thetotalworm@gmail.com>2018-12-13 15:03:06 +0100
commitaa8c84f040e05d154918e6b389c98ab73c6ba1b8 (patch)
treef0cab875fe13a8825472f853c3d3b13d78f00fe5
parentef79cc06f3c49e136e88f5dbfb0a1c6bd98f76cd (diff)
* correct romlist.bin (Club Penguin Herbert's Revenge EUR uses 4K EEPROM, not 64K)
* support 32bit reads to POWCNT1 (and also POSTFLG) fixes #300 (insert sparta meme)
-rw-r--r--romlist.binbin114576 -> 114576 bytes
-rw-r--r--src/NDS.cpp3
2 files changed, 3 insertions, 0 deletions
diff --git a/romlist.bin b/romlist.bin
index 9e88de6..2bdf7bd 100644
--- a/romlist.bin
+++ b/romlist.bin
Binary files differ
diff --git a/src/NDS.cpp b/src/NDS.cpp
index ef99eed..c750bc6 100644
--- a/src/NDS.cpp
+++ b/src/NDS.cpp
@@ -2515,6 +2515,9 @@ u32 ARM9IORead32(u32 addr)
case 0x040002B8: return SqrtVal[0];
case 0x040002BC: return SqrtVal[1];
+ case 0x04000300: return PostFlag9;
+ case 0x04000304: return PowerControl9;
+
case 0x04100000:
if (IPCFIFOCnt9 & 0x8000)
{