Making assumptions about how big the buffer being passed to VdGetSystemCommandBuffer is. Seems to work and fix the divide by zero trap many games were making.

This commit is contained in:
gibbed 2015-05-28 05:17:03 -05:00
parent e419d314b3
commit 671d6f3746
1 changed files with 1 additions and 0 deletions

View File

@ -277,6 +277,7 @@ SHIM_CALL VdGetSystemCommandBuffer_shim(PPCContext* ppc_state,
XELOGD("VdGetSystemCommandBuffer(%.8X, %.8X)", p0_ptr, p1_ptr);
memset(SHIM_MEM_ADDR(p1_ptr), 0, 0x94);
SHIM_SET_MEM_32(p0_ptr, 0xBEEF0000);
SHIM_SET_MEM_32(p1_ptr, 0xBEEF0001);
}