Fix all warnings

This commit is contained in:
jaburns
2020-10-30 12:11:26 -06:00
parent 144df0df98
commit fa3d9e77db
19 changed files with 189 additions and 186 deletions
+1 -3
View File
@@ -2901,7 +2901,7 @@ typedef union {
#endif
#ifndef F3D_OLD
//# define gSPPerspNormalize(pkt, s) gMoveWd(pkt, G_MW_PERSPNORM, 0, (s))
# define gSPPerspNormalize(pkt, s) gMoveWd(pkt, G_MW_PERSPNORM, 0, (s))
# define gsSPPerspNormalize(s) gsMoveWd( G_MW_PERSPNORM, 0, (s))
#else
# define gSPPerspNormalize(pkt, s) \
@@ -3127,11 +3127,9 @@ typedef union {
#define gsDPSetDepthSource(src) \
gsSPSetOtherMode(G_SETOTHERMODE_L, G_MDSFT_ZSRCSEL, 1, src)
/*
#define gDPSetRenderMode(pkt, c0, c1) \
gSPSetOtherMode(pkt, G_SETOTHERMODE_L, G_MDSFT_RENDERMODE, 29, \
(c0) | (c1))
*/
#define gsDPSetRenderMode(c0, c1) \
gsSPSetOtherMode(G_SETOTHERMODE_L, G_MDSFT_RENDERMODE, 29, \
(c0) | (c1))
+1 -1
View File
@@ -294,7 +294,7 @@ struct MarioAnimDmaRelatedThing
struct MarioAnimation
{
struct MarioAnimDmaRelatedThing *animDmaTable;
u8 *currentAnimAddr;
u32 currentAnimAddr; // libsm64: type change
struct Animation *targetAnim;
u8 padding[4];
};