Skip to content
Snippets Groups Projects
Commit cd7de52f authored by bunnei's avatar bunnei
Browse files

added a SETABORT method that does not update LR (for HLE'd SVC that does not...

added a SETABORT method that does not update LR (for HLE'd SVC that does not jump appcore CPU to an IRQ vector)
parent 9a9b7b28
No related branches found
No related tags found
No related merge requests found
......@@ -229,6 +229,17 @@ extern ARMword isize;
} \
while (0)
#define SETABORT_SKIPBRANCH(i, m, d) \
do \
{ \
int SETABORT_mode = (m); \
\
ARMul_SetSPSR (state, SETABORT_mode, ARMul_GetCPSR (state)); \
ARMul_SetCPSR (state, ((ARMul_GetCPSR (state) & ~(EMODE | TBIT)) \
| (i) | SETABORT_mode)); \
} \
while (0)
//#ifndef MODE32
#define VECTORS 0x20
#define LEGALADDR 0x03ffffff
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment