aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b
diff options
context:
space:
mode:
Diffstat (limited to 'libpsn00b')
-rw-r--r--libpsn00b/include/psxgpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpsn00b/include/psxgpu.h b/libpsn00b/include/psxgpu.h
index 5f0798a..fa5dfd4 100644
--- a/libpsn00b/include/psxgpu.h
+++ b/libpsn00b/include/psxgpu.h
@@ -140,7 +140,7 @@
/* ORIGINAl CODE */
#define setDrawMask( p, sb, mt ) \
- setlen( p, 1 ), p->code[0] = sb|(mt<<1), \
+ setlen( p, 1 ), (p)->code[0] = sb|(mt<<1), \
setcode( p, 0xe6 )
@@ -584,4 +584,4 @@ DRAWENV *SetDefDrawEnv(DRAWENV *draw, int x, int y, int w, int h);
}
#endif
-#endif \ No newline at end of file
+#endif