mirror of
https://github.com/Treeki/WindEmu.git
synced 2025-06-29 14:27:07 +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) {
|
if (Rd == 15) {
|
||||||
// Writing to PC
|
// Writing to PC
|
||||||
// Special things occur here!
|
// Special things occur here!
|
||||||
|
GPRs[Rd] &= ~3; // TODO is this really necessary??
|
||||||
prefetchCount = 0;
|
prefetchCount = 0;
|
||||||
if (S && isPrivileged()) {
|
if (S && isPrivileged()) {
|
||||||
// We SHOULD be privileged
|
// We SHOULD be privileged
|
||||||
|
Reference in New Issue
Block a user