Jit64: Actually update membase register after GlobalAdvance().

This commit is contained in:
Admiral H. Curtiss 2023-08-19 17:00:01 +02:00
parent ed7894924c
commit d36f0fff4c
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB

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);