sceGnmDrawIndexOffset use correct values

This commit is contained in:
SysRay 2024-05-27 17:53:04 +02:00
parent 66314423dd
commit e77d8519a2

View File

@ -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;