diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2024-06-09 10:25:48 -0600 |
|---|---|---|
| committer | KiritoDv <kiritodev01@gmail.com> | 2024-06-09 10:25:48 -0600 |
| commit | 97b2fb2291bc25e79fa92e9242ae2e6be52a50bf (patch) | |
| tree | fc8ac276cf5da0d2a455e7cf1e9f761c44ed03a5 /src/n64 | |
| parent | 966e5b38d2132bc6057633d7794d817bd0517efe (diff) | |
Translated branch to dlist + end_dl
Diffstat (limited to 'src/n64')
| -rw-r--r-- | src/n64/gbi-otr.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/n64/gbi-otr.h b/src/n64/gbi-otr.h index 9cc1422..0ee659c 100644 --- a/src/n64/gbi-otr.h +++ b/src/n64/gbi-otr.h @@ -131,6 +131,9 @@ _DW({ #define gsSPVertexOTR(v, n, v0) \ { (_SHIFTL(G_VTX_OTR_HASH, 24, 8) | _SHIFTL((n), 12, 8) | _SHIFTL((v0) + (n), 1, 7)), (uintptr_t)(v) } +#define gsSPRawOpcode(opcode) \ + { _SHIFTL(opcode, 24, 8), 0 } + #define gsDPSetTextureOTRImage(fmt, siz, width, i) \ {{ \ _SHIFTL(G_SETTIMG_OTR_HASH, 24, 8) | _SHIFTL(fmt, 21, 3) | \ @@ -141,7 +144,7 @@ _DW({ #define gsSPBranchListOTRHash(dl) \ {{ \ (_SHIFTL((G_DL_OTR_HASH), 24, 8) | _SHIFTL((0x01), 16, 8) | \ - _SHIFTL((0), 0, 16)), \ + _SHIFTL((0), 1, 16)), \ (uintptr_t)(dl) \ }} |
