VdPersistDisplay is two arguments, not nine.

This commit is contained in:
gibbed 2015-05-23 19:38:57 -05:00
parent a376eb7d9f
commit b38bc0df1e
1 changed files with 1 additions and 8 deletions

View File

@ -368,15 +368,8 @@ SHIM_CALL VdIsHSIOTrainingSucceeded_shim(PPCContext* ppc_state,
SHIM_CALL VdPersistDisplay_shim(PPCContext* ppc_state, KernelState* state) {
uint32_t unk0 = SHIM_GET_ARG_32(0);
uint32_t unk1_ptr = SHIM_GET_ARG_32(1);
uint32_t unk2 = SHIM_GET_ARG_32(2);
uint32_t unk3 = SHIM_GET_ARG_32(3);
uint32_t unk4 = SHIM_GET_ARG_32(4);
uint32_t unk5 = SHIM_GET_ARG_32(5);
uint32_t unk6 = SHIM_GET_ARG_32(6);
uint32_t unk7 = SHIM_GET_ARG_32(7);
XELOGD("VdPersistDisplay(%.8X, %.8X, %.8X, %.8X, %.8X, %.8X, %.8X, %.8X)",
unk0, unk1_ptr, unk2, unk3, unk4, unk5, unk6, unk7);
XELOGD("VdPersistDisplay(%.8X, %.8X)", unk0, unk1_ptr);
// unk1_ptr needs to be populated with a pointer passed to
// MmFreePhysicalMemory(1, *unk1_ptr).