mirror of
https://github.com/Treeki/WindEmu.git
synced 2025-06-29 06:11:39 +00:00
workaround TRealXMultiply branching to invalid instruction
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user