Skip to content

Commit

Permalink
Correct DMA_Tri command again.
Browse files Browse the repository at this point in the history
See gonetz#2831 for details.
  • Loading branch information
gonetz committed May 19, 2024
1 parent b021d8e commit 4972e76
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/uCodes/F3DDKR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ void F3DJFG_DMA_Vtx(u32 w0, u32 w1)
}

void F3DDKR_DMA_Tri(u32 w0, u32 w1)
{
gSPDMATriangles( w1, _SHIFTR( w0, 4, 12 ) );
gSP.vertexi = 0;
}

void F3DJFG_DMA_Tri(u32 w0, u32 w1)
{
gSP.texture.on = _SHIFTR(w0, 16, 4);
gSPDMATriangles(w1, _SHIFTR(w0, 20, 4) + 1);
Expand Down Expand Up @@ -143,5 +137,4 @@ void F3DJFG_Init()
{
F3DDKR_Init();
GBI_SetGBI(G_DMA_VTX, F3DDKR_DMA_VTX, F3DJFG_DMA_Vtx);
GBI_SetGBI(G_DMA_TRI, F3DDKR_DMA_TRI, F3DJFG_DMA_Tri);
}

0 comments on commit 4972e76

Please sign in to comment.