diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2024-01-19 16:22:19 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-20 02:22:19 +0200 |
| commit | 981cfe7283c0a39b8d1845d8ba59f3bb1e192932 (patch) | |
| tree | 147c0280ee1231529e52039cbef26f2a6439744f /libs/JSystem/J3DGraphBase/J3DShape.cpp | |
| parent | f97fc769df40a69b12ca9b28be389b236400dcdb (diff) | |
almost all of dolphin matched (#2036)
* TRK full match
* remove trk asm
* ar done
* cleanup some dolphin headers
* more dolphin cleanup
* cleanup / GD fully matched
* almost all of GX fully matched
* GX / Mtx full matched
* most of OS done
* pad done
* most of VI
* remove asm
* forgot couple vec funcs
* couple JUtility matches
Diffstat (limited to 'libs/JSystem/J3DGraphBase/J3DShape.cpp')
| -rw-r--r-- | libs/JSystem/J3DGraphBase/J3DShape.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/JSystem/J3DGraphBase/J3DShape.cpp b/libs/JSystem/J3DGraphBase/J3DShape.cpp index 820f8dc0cd..ee1981e32e 100644 --- a/libs/JSystem/J3DGraphBase/J3DShape.cpp +++ b/libs/JSystem/J3DGraphBase/J3DShape.cpp @@ -7,7 +7,7 @@ #include "JSystem/J3DGraphBase/J3DPacket.h" #include "JSystem/J3DGraphBase/J3DVertex.h" #include "dolphin/gd/GDGeometry.h" -#include "dolphin/os/OS.h" +#include "dolphin/os.h" #include "dolphin/types.h" // @@ -136,9 +136,9 @@ u32 J3DShape::countBumpMtxNum() const { /* 80314E98-80314EB0 30F7D8 0018+00 1/1 0/0 0/0 .text J3DLoadCPCmd__FUcUl */ void J3DLoadCPCmd(u8 cmd, u32 param) { - GFX_FIFO(u8) = GX_CMD_LOAD_CP_REG; - GFX_FIFO(u8) = cmd; - GFX_FIFO(u32) = param; + GXWGFifo.u8 = GX_CMD_LOAD_CP_REG; + GXWGFifo.u8 = cmd; + GXWGFifo.u32 = param; } /* 80314EB0-80314EEC 30F7F0 003C+00 1/1 0/0 0/0 .text J3DLoadArrayBasePtr__F7_GXAttrPv */ |
