fix edge case with thumb prefetch aborts

This commit is contained in:
Jaklyy 2024-11-08 01:36:14 -05:00
parent 60a819c1ed
commit 676f471ebe

View File

@ -667,7 +667,7 @@ void ARMv5::Execute()
if (IRQ && !(CPSR & 0x80)) TriggerIRQ<mode>();
else if (CurInstr & ((u64)1<<63)) [[unlikely]] // handle aborted instructions
else if (CurInstr > 0xFFFFFFFF) [[unlikely]] // handle aborted instructions
{
PrefetchAbort();
}