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