Corrected overlapped_ptr stack location in XamUserReadProfileSettings.
This commit is contained in:
parent
e0c652b075
commit
8f4950bb6c
|
@ -123,7 +123,7 @@ SHIM_CALL XamUserReadProfileSettings_shim(
|
||||||
uint32_t buffer_ptr = SHIM_GET_ARG_32(7);
|
uint32_t buffer_ptr = SHIM_GET_ARG_32(7);
|
||||||
// arg8 is in stack!
|
// arg8 is in stack!
|
||||||
uint64_t sp = ppc_state->r[1];
|
uint64_t sp = ppc_state->r[1];
|
||||||
uint32_t overlapped_ptr = SHIM_MEM_32(sp - 16);
|
uint32_t overlapped_ptr = SHIM_MEM_32(sp + 0x54);
|
||||||
|
|
||||||
uint32_t buffer_size = SHIM_MEM_32(buffer_size_ptr);
|
uint32_t buffer_size = SHIM_MEM_32(buffer_size_ptr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue