diff --git a/src/xenia/kernel/user_module.cc b/src/xenia/kernel/user_module.cc index d36aa67ad..7d0b6dbe6 100644 --- a/src/xenia/kernel/user_module.cc +++ b/src/xenia/kernel/user_module.cc @@ -502,9 +502,8 @@ void UserModule::Dump() { } auto library_data = - reinterpret_cast(opt_import_libraries) + - opt_import_libraries->string_table.size + 12; - uint32_t library_offset = 0; + 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);