Header cleanups and prep.

This commit is contained in:
Ben Vanik
2015-05-24 20:11:19 -07:00
parent 8ac1f61c64
commit 1104f8e687
13 changed files with 34 additions and 18 deletions

View File

@@ -125,7 +125,7 @@ bool XexModule::SetupLibraryImports(const xe_xex2_import_library_t* library) {
kernel_export =
export_resolver->GetExportByOrdinal(library->name, info->ordinal);
} else {
XModule* module = kernel_state_->GetModule(library->name);
auto module = kernel_state_->GetModule(library->name);
if (module) {
user_export_addr = module->GetProcAddressByOrdinal(info->ordinal);
}