summaryrefslogtreecommitdiff
path: root/include/PR
diff options
context:
space:
mode:
authorrozlette <uberpanzermensch@gmail.com>2019-12-29 21:34:58 -0600
committerrozlette <uberpanzermensch@gmail.com>2019-12-29 21:34:58 -0600
commit8d8df1848ea442c05d480e04f76e15bdb02ae23f (patch)
treed64c28d0228e5698b6a345f7296eeb62dec4568b /include/PR
parentfe8a5a216e3e86a00019dd15405701c75fa94e5e (diff)
More work on z_scene_proc.c 31/36 matching, 3 non-matching, 2 not attempted
Diffstat (limited to 'include/PR')
-rw-r--r--include/PR/gbi.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/PR/gbi.h b/include/PR/gbi.h
index 1c16bb582..e32b91881 100644
--- a/include/PR/gbi.h
+++ b/include/PR/gbi.h
@@ -2732,12 +2732,12 @@ _DW({ \
#endif /* F3DEX_GBI_2 */
#define gSPEndDisplayList(pkt) \
-{ \
+_DW({ \
Gfx *_g = (Gfx *)(pkt); \
\
_g->words.w0 = _SHIFTL(G_ENDDL, 24, 8); \
_g->words.w1 = 0; \
-}
+})
#define gsSPEndDisplayList() \
{ \
@@ -3035,12 +3035,12 @@ _DW({ \
#define gsDPSetCombineMode(a, b) gsDPSetCombineLERP(a, b)
#define gDPSetColor(pkt, c, d) \
-{ \
+_DW({ \
Gfx *_g = (Gfx *)(pkt); \
\
_g->words.w0 = _SHIFTL(c, 24, 8); \
_g->words.w1 = (unsigned int)(d); \
-}
+})
#define gsDPSetColor(c, d) \
{ \
@@ -4325,12 +4325,12 @@ _DW({ \
}
#define gDPNoParam(pkt, cmd) \
-{ \
+_DW({ \
Gfx *_g = (Gfx *)(pkt); \
\
_g->words.w0 = _SHIFTL(cmd, 24, 8); \
_g->words.w1 = 0; \
-}
+})
#define gsDPNoParam(cmd) \
{ \