Ignore requests for kernel32.dll

This commit is contained in:
Ben Vanik
2014-01-21 21:03:27 -08:00
parent b6d7ccfb03
commit 489154e548
2 changed files with 4 additions and 3 deletions

View File

@@ -208,9 +208,7 @@ SHIM_CALL XexGetModuleHandle_shim(
X_HANDLE module_handle = 0;
int result = xeXexGetModuleHandle(module_name, &module_handle);
if (result) {
SHIM_SET_MEM_32(module_handle_ptr, module_handle);
}
SHIM_SET_MEM_32(module_handle_ptr, module_handle);
SHIM_SET_RETURN_32(result);
}