mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Kernel: Check thread switch PC in release.
Hopefully won't be noticeable, it's not that hot and very cheap.
This commit is contained in:
parent
ae224b3893
commit
fc00b1b972
1 changed files with 0 additions and 2 deletions
|
@ -1468,11 +1468,9 @@ void __KernelLoadContext(PSPThreadContext *ctx, bool vfpuEnabled) {
|
|||
memcpy(currentMIPS->vfpuCtrl, ctx->vfpuCtrl, sizeof(ctx->vfpuCtrl));
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
if (!Memory::IsValidAddress(ctx->pc)) {
|
||||
Core_ExecException(ctx->pc, currentMIPS->pc, ExecExceptionType::THREAD);
|
||||
}
|
||||
#endif
|
||||
|
||||
memcpy(currentMIPS->other, ctx->other, sizeof(ctx->other));
|
||||
if (MIPSComp::jit) {
|
||||
|
|
Loading…
Add table
Reference in a new issue