mirror of
https://github.com/zeldaret/mm.git
synced 2026-07-07 13:03:29 -04:00
More work on z_scene_proc.c 31/36 matching, 3 non-matching, 2 not attempted
This commit is contained in:
+6
-6
@@ -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) \
|
||||
{ \
|
||||
|
||||
Reference in New Issue
Block a user