From dd3a049b2303a2b80759cbd76fbcbbce3ef89243 Mon Sep 17 00:00:00 2001 From: gibbed Date: Sat, 24 Nov 2018 14:59:47 -0600 Subject: [PATCH] [CPU] Oops. --- src/xenia/cpu/xex_module.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/xenia/cpu/xex_module.cc b/src/xenia/cpu/xex_module.cc index 6f8537970..e14d255bd 100644 --- a/src/xenia/cpu/xex_module.cc +++ b/src/xenia/cpu/xex_module.cc @@ -1144,9 +1144,8 @@ bool XexModule::LoadContinue() { } } - auto library_data = reinterpret_cast(opt_import_libraries) + - opt_import_libraries->string_table.size + 12; - uint32_t library_offset = 0; + auto library_data = reinterpret_cast(opt_import_libraries); + uint32_t library_offset = opt_import_libraries->string_table.size + 12; while (library_offset < opt_import_libraries->size) { auto library = reinterpret_cast(library_data + library_offset);