From c3e6c955425cf3607f7261a9a75a28b745219eb8 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Thu, 26 Dec 2019 01:58:07 +0000 Subject: [PATCH] workaround TRealXMultiply branching to invalid instruction --- WindCore/arm710.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/WindCore/arm710.cpp b/WindCore/arm710.cpp index 5d804d3..eaa6a01 100644 --- a/WindCore/arm710.cpp +++ b/WindCore/arm710.cpp @@ -365,6 +365,7 @@ uint32_t ARM710::execDataProcessing(bool I, uint32_t Opcode, bool S, uint32_t Rn if (Rd == 15) { // Writing to PC // Special things occur here! + GPRs[Rd] &= ~3; // TODO is this really necessary?? prefetchCount = 0; if (S && isPrivileged()) { // We SHOULD be privileged -- 2.45.2