From: Ash Wolf Date: Thu, 26 Dec 2019 01:58:07 +0000 (+0000) Subject: workaround TRealXMultiply branching to invalid instruction X-Git-Url: http://git.gwright.org.uk/?a=commitdiff_plain;h=c3e6c955425cf3607f7261a9a75a28b745219eb8;p=WindEmu.git workaround TRealXMultiply branching to invalid instruction --- 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