Remove kernel dependency on old xex header
This commit is contained in:
parent
d7a5c74bf3
commit
e44ac54eed
|
@ -141,9 +141,8 @@ SHIM_CALL XexCheckExecutablePrivilege_shim(PPCContext* ppc_context,
|
|||
SHIM_SET_RETURN_32(0);
|
||||
return;
|
||||
}
|
||||
xe_xex2_ref xex = module->xex();
|
||||
|
||||
const xe_xex2_header_t* header = xe_xex2_get_header(xex);
|
||||
auto header = module->xex_header();
|
||||
uint32_t result = (header->system_flags & mask) > 0;
|
||||
|
||||
SHIM_SET_RETURN_32(result);
|
||||
|
|
Loading…
Reference in New Issue