From bf39e33dc0ec6f80902864b55ecd3390b31b2c47 Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Fri, 25 Sep 2015 18:35:33 -0500 Subject: [PATCH] Raw modules need to commit an executable range too! --- src/xenia/cpu/raw_module.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xenia/cpu/raw_module.cc b/src/xenia/cpu/raw_module.cc index 02fde0fb3..11dde5213 100644 --- a/src/xenia/cpu/raw_module.cc +++ b/src/xenia/cpu/raw_module.cc @@ -55,6 +55,9 @@ bool RawModule::LoadFile(uint32_t base_address, const std::wstring& path) { low_address_ = base_address; high_address_ = base_address + file_length; + + // Notify backend about executable code. + processor_->backend()->CommitExecutableRange(low_address_, high_address_); return true; }