Fixing compile warnings.

This commit is contained in:
Ben Vanik
2015-05-05 18:52:37 -07:00
parent 3f1131c65f
commit b07d5b8ed3
7 changed files with 30 additions and 30 deletions

View File

@@ -279,14 +279,14 @@ SHIM_CALL XexGetProcedureAddress_shim(PPCContext* ppc_state,
if (XSUCCEEDED(result)) {
if (ordinal < 0x10000) {
// Ordinal.
uint64_t ptr = (uint64_t)module->GetProcAddressByOrdinal(ordinal);
uint32_t ptr = module->GetProcAddressByOrdinal(ordinal);
if (ptr) {
SHIM_SET_MEM_32(out_function_ptr, ptr);
result = X_STATUS_SUCCESS;
}
} else {
// It's a name pointer instead.
uint64_t ptr = (uint64_t)module->GetProcAddressByName(name);
uint32_t ptr = module->GetProcAddressByName(name);
// FYI: We don't need to generate this function now. It'll
// be done automatically by xenia when it gets called.