Skip to content

Commit

Permalink
sceGnmDrawIndexOffset use correct values
Browse files Browse the repository at this point in the history
  • Loading branch information
SysRay committed May 27, 2024
1 parent 6631442 commit e77d851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/libSceGraphicsDriver/entry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e77d851

Please sign in to comment.