1
0
Fork 0
mirror of https://git.suyu.dev/suyu/dynarmic.git synced 2025-03-04 13:16:04 +00:00

spin_lock: Invalidate runtime generated code

Not doing this can result in cache related heisenbugs.
This commit is contained in:
Merry 2023-05-07 23:03:32 +01:00
parent d5c2b473a8
commit 7da378033a

View file

@ -68,6 +68,7 @@ void SpinLockImpl::Initialize() {
code.RET();
mem.protect();
mem.invalidate_all();
}
} // namespace