mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-11-23 06:19:41 +00:00
sceGnmDrawIndexOffset use correct values
This commit is contained in:
parent
66314423dd
commit
e77d8519a2
@ -197,8 +197,8 @@ int SYSV_ABI sceGnmDrawIndexOffset(uint32_t* cmdOut, uint64_t size, uint32_t ind
|
||||
LOG_TRACE(L"%S 0x%08llx %u", __FUNCTION__, (uint64_t)cmdOut, size);
|
||||
|
||||
cmdOut[0] = Pm4::create(size, Pm4::Custom::R_DRAW_INDEX_OFFSET);
|
||||
cmdOut[1] = index_offset;
|
||||
cmdOut[2] = index_count;
|
||||
cmdOut[1] = index_count;
|
||||
cmdOut[2] = index_offset;
|
||||
cmdOut[3] = flags;
|
||||
cmdOut[4] = 0;
|
||||
cmdOut[5] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user