Merge remote-tracking branch 'upstream/master' into interpreter-fixes

This commit is contained in:
Jaklyy
2024-08-30 19:33:16 -04:00
43 changed files with 4441 additions and 214 deletions

View File

@ -632,6 +632,7 @@ void ARMv5::Execute()
while (NDS.ARM9Timestamp < NDS.ARM9Target)
{
#ifdef JIT_ENABLED
if constexpr (mode == CPUExecuteMode::JIT)
{
u32 instrAddr = R[15] - ((CPSR&0x20)?2:4);
@ -670,6 +671,7 @@ void ARMv5::Execute()
}
}
else
#endif
{
if (CPSR & 0x20) // THUMB
{
@ -784,6 +786,7 @@ void ARMv4::Execute()
while (NDS.ARM7Timestamp < NDS.ARM7Target)
{
#ifdef JIT_ENABLED
if constexpr (mode == CPUExecuteMode::JIT)
{
u32 instrAddr = R[15] - ((CPSR&0x20)?2:4);
@ -821,6 +824,7 @@ void ARMv4::Execute()
}
}
else
#endif
{
if (CPSR & 0x20) // THUMB
{