Standarized use of star in void and struct pointers
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@
|
||||
#define T2_READ_8(ptr) ((ptr)[0])
|
||||
#define T2_READ_16(ptr) ((ptr)[0] + ((ptr)[1] << 8))
|
||||
#define T2_READ_32(ptr) ((ptr)[0] + ((ptr)[1] << 8) + ((ptr)[2] << 16) + ((ptr)[3] << 24))
|
||||
#define T2_READ_PTR(ptr) (void*) T2_READ_32(ptr)
|
||||
#define T2_READ_PTR(ptr) (void *) T2_READ_32(ptr)
|
||||
|
||||
// This macro is required to prevent the compiler from optimizing
|
||||
// a dpad up/down check in sub_812CAD8 (fame_checker.c).
|
||||
|
||||
Reference in New Issue
Block a user