mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-07 07:29:59 +01:00
spin_lock: Invalidate runtime generated code
Not doing this can result in cache related heisenbugs.
This commit is contained in:
parent
d5c2b473a8
commit
7da378033a
@ -68,6 +68,7 @@ void SpinLockImpl::Initialize() {
|
||||
code.RET();
|
||||
|
||||
mem.protect();
|
||||
mem.invalidate_all();
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user