Minor fixes
This commit is contained in:
@@ -32,6 +32,10 @@
|
||||
|
||||
#define ARRAY_COUNT(array) (size_t)(sizeof(array) / sizeof((array)[0]))
|
||||
|
||||
// GameFreak used a macro called "NELEMS", as evidenced by
|
||||
// AgbAssert calls.
|
||||
#define NELEMS(arr) (sizeof(arr)/sizeof(*(arr)))
|
||||
|
||||
#define SWAP(a, b, temp) \
|
||||
{ \
|
||||
temp = a; \
|
||||
|
||||
Reference in New Issue
Block a user