mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-30 21:34:15 +01:00
arm_interpreter: fixed load context to currently resume a thread
This commit is contained in:
parent
6a78be5930
commit
481d936d34
@ -136,4 +136,7 @@ void ARM_Interpreter::LoadContext(const ThreadContext& ctx) {
|
|||||||
|
|
||||||
state->VFP[1] = ctx.fpscr;
|
state->VFP[1] = ctx.fpscr;
|
||||||
state->VFP[2] = ctx.fpexc;
|
state->VFP[2] = ctx.fpexc;
|
||||||
|
|
||||||
|
state->Reg[15] = ctx.pc;
|
||||||
|
state->NextInstr = RESUME;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user