get it to do more interesting things

This commit is contained in:
Arisotura
2019-06-15 18:30:12 +02:00
parent 93330d2670
commit 4d3f346edc
3 changed files with 16 additions and 8 deletions

View File

@ -175,7 +175,7 @@ void ARMv5::JumpTo(u32 addr, bool restorecpsr)
// aging cart debug crap
//if (addr == 0x0201764C) printf("capture test %d: R1=%08X\n", R[6], R[1]);
//if (addr == 0x020175D8) printf("capture test %d: res=%08X\n", R[6], R[0]);
if (addr==0x037CA0D0) printf("VLORP %08X\n", R[15]);
//if (addr==0x037CA0D0) printf("VLORP %08X\n", R[15]);
u32 oldregion = R[15] >> 24;
u32 newregion = addr >> 24;
@ -243,6 +243,8 @@ void ARMv4::JumpTo(u32 addr, bool restorecpsr)
else addr &= ~0x1;
}
//if (addr==0x037D5A18) printf("SHITTY FUNC. %08X\n", R[15]);
u32 oldregion = R[15] >> 23;
u32 newregion = addr >> 23;