aboutsummaryrefslogtreecommitdiff
path: root/NDS.cpp
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-01-31 18:41:31 +0100
committerStapleButter <thetotalworm@gmail.com>2017-01-31 18:41:31 +0100
commit9541d17c7c64b6b49324aa4b00523b69b2defd23 (patch)
tree698b6a1a226f5421e8b0a76dbf99a0d6248d0793 /NDS.cpp
parent516bc30ee38ccf4f8039bc25c10e0c1c70605ded (diff)
* implement the last missing instructions. QADD is not good according to ARMWrestler, but it doesn't make sense. TODO: investigate.
* buttons A and B * silence 'unknown IO write' for 3D GPU ports
Diffstat (limited to 'NDS.cpp')
-rw-r--r--NDS.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/NDS.cpp b/NDS.cpp
index d98f845..ba39f9c 100644
--- a/NDS.cpp
+++ b/NDS.cpp
@@ -1783,6 +1783,11 @@ void ARM9IOWrite32(u32 addr, u32 val)
GPU::GPU2D_B->Write32(addr, val);
return;
}
+ if (addr >= 0x04000320 && addr < 0x040006A4)
+ {
+ // 3D GPU
+ return;
+ }
printf("unknown ARM9 IO write32 %08X %08X\n", addr, val);
}