mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Reset llBit on thread switch.
Never actually seen ll used, though... but this way it should work as advertized, as long as a syscall doesn't happen in between...
This commit is contained in:
1 parent
3a365fef64
commit
2bdc9dc491
2 files changed
+4
-1
No files matched your search
@@ -1034,6 +1034,9 @@ void __KernelLoadContext(ThreadContext *ctx)
|
||||
currentMIPS->fcr0 = ctx->fcr0;
|
||||
currentMIPS->fcr31 = ctx->fcr31;
|
||||
currentMIPS->fpcond = ctx->fpcond;
|
||||
|
||||
// Reset the llBit, the other thread may have touched memory.
|
||||
currentMIPS->llBit = 0;
|
||||
}
|
||||
|
||||
u32 __KernelResumeThreadFromWait(SceUID threadID)
|
||||
|
||||
Reference in new issue
Block a user