Whoops - my arbitrarily picked GPU command # collided -_-

This commit is contained in:
Ben Vanik
2015-03-20 16:37:04 -07:00
parent 0ea8f74cf8
commit 22246cccb5
5 changed files with 38 additions and 7 deletions

View File

@@ -396,7 +396,7 @@ SHIM_CALL VdSwap_shim(PPCContext* ppc_state, KernelState* state) {
// use this method.
memset(SHIM_MEM_ADDR(unk0), 0, 64 * 4);
auto dwords = reinterpret_cast<uint32_t*>(SHIM_MEM_ADDR(unk0));
dwords[0] = poly::byte_swap((0x03 << 30) | ((63 - 1) << 16) |
dwords[0] = poly::byte_swap((0x3 << 30) | ((63 - 1) << 16) |
(xe::gpu::xenos::PM4_XE_SWAP << 8));
dwords[1] = poly::byte_swap(frontbuffer);