mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-07 07:29:59 +01:00
backend/arm64/a32_address_space: Protect code memory at end of prologue emission (#712)
Bug fix
This commit is contained in:
parent
f374d6acb0
commit
4b80be4bd9
@ -220,6 +220,7 @@ void A32AddressSpace::EmitPrelude() {
|
|||||||
prelude_info.end_of_prelude = code.ptr<u32*>();
|
prelude_info.end_of_prelude = code.ptr<u32*>();
|
||||||
|
|
||||||
mem.invalidate_all();
|
mem.invalidate_all();
|
||||||
|
mem.protect();
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t A32AddressSpace::GetRemainingSize() {
|
size_t A32AddressSpace::GetRemainingSize() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user