From 36372d1eaeaa92eb04ff3fb523536d11e8f22ce8 Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Wed, 13 Jan 2016 01:47:06 -0600 Subject: [PATCH] Enforce xex memory protections --- src/xenia/cpu/xex_module.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/xenia/cpu/xex_module.cc b/src/xenia/cpu/xex_module.cc index ea54bd4fc..4d875a626 100644 --- a/src/xenia/cpu/xex_module.cc +++ b/src/xenia/cpu/xex_module.cc @@ -286,9 +286,6 @@ bool XexModule::Load(const std::string& name, const std::string& path, } // Setup memory protection. - // TODO: This introduces a load of constants into the JIT, and Xenia isn't - // quite set-up to handle constants yet... - /* auto sec_header = xex_security_info(); auto heap = memory()->LookupHeap(sec_header->load_address); auto page_size = heap->page_size(); @@ -311,7 +308,6 @@ bool XexModule::Load(const std::string& name, const std::string& path, page += desc.size; } - */ return true; }