aboutsummaryrefslogtreecommitdiff
path: root/src/ARM.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ARM.cpp')
-rw-r--r--src/ARM.cpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/ARM.cpp b/src/ARM.cpp
index 1a5fc3e..f1bed5f 100644
--- a/src/ARM.cpp
+++ b/src/ARM.cpp
@@ -180,9 +180,6 @@ void ARMv5::JumpTo(u32 addr, bool restorecpsr)
if (R[15]==0x0204BE5E) printf("recvfrom() ret:%d errno:%d %08X\n", R[0], NDS::ARM9Read32(0x217F398), addr);
if (R[15]==0x0205038A) printf("sgrecvfrom() ret:%d errno:%d %08X\n", R[0], NDS::ARM9Read32(0x217F398), addr);
if (addr==0x02050379 || addr==0x0205036D) printf("morp %08X->%08X, %d\n", R[15], addr, R[7]);*/
- if (R[15]==0x02050542) printf("calc UDP checksum: %04X\n", R[0]);
- if (addr==0x0204FC2D) printf("calcchk %08X\n", R[15]);
- if (addr==0x0204B521) printf("zog check %08X\n", R[15]);
u32 oldregion = R[15] >> 24;
u32 newregion = addr >> 24;
@@ -454,7 +451,7 @@ void ARMv5::DataAbort()
R[14] = R[15] + (oldcpsr & 0x20 ? 6 : 4);
JumpTo(ExceptionBase + 0x10);
}
-namespace LAN{extern u32 zarp;}
+
void ARMv5::Execute()
{
if (Halted)
@@ -512,18 +509,6 @@ void ARMv5::Execute()
else
AddCycles_C();
}
- /*if (R[15]>=0x0204E07C && R[15]<=0x0204E388)
- {
- printf("TACHYCARDIE. %08X\n", R[15]-4);
- }
- if (LAN::zarp!=0)
- {
- for (int i = 0; i < 15; i++)
- {
- if (R[i]==LAN::zarp)
- printf("!! TRANSID IN R%d AT %08X\n", i, R[15]);
- }
- }*/
// TODO optimize this shit!!!
if (Halted)