Merge pull request #12120 from AdmiralCurtiss/jit64-membase

Jit64: Actually update membase register after GlobalAdvance().
This commit is contained in:
JosJuice 2023-08-19 17:20:28 +02:00 committed by GitHub
commit 8c5d8a6322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ void Jit64AsmRoutineManager::Generate()
// When we've just entered the jit we need to update the membase
// GlobalAdvance also checks exceptions after which we need to
// update the membase so it makes sense to do this here.
m_jit.EmitUpdateMembase();
MOV(64, R(RMEM), PPCSTATE(mem_ptr));
// skip the sync and compare first time
FixupBranch skipToRealDispatch = J(enable_debugging ? Jump::Near : Jump::Short);