From 4972e76aea6b327959d1761c786077fd96b6cb30 Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Sun, 19 May 2024 10:46:58 +0700 Subject: [PATCH] Correct DMA_Tri command again. See #2831 for details. --- src/uCodes/F3DDKR.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/uCodes/F3DDKR.cpp b/src/uCodes/F3DDKR.cpp index bb6ecfc78..0bd919091 100644 --- a/src/uCodes/F3DDKR.cpp +++ b/src/uCodes/F3DDKR.cpp @@ -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); @@ -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); }