ntsc-beta: Decompile malloc

This commit is contained in:
Ryan Dwyer committed 2021-10-29 22:00:14 +10:00
1 parent 66e69d8c38
commit 7096bd77f9
6 files changed
+27 -90

No files matched your search

+1
View File
@@ -26,6 +26,7 @@
#define ALIGN64(val) ((((u32)val) + 0x3f | 0x3f) ^ 0x3f)
#define ARRAYCOUNT(a) (s32)(sizeof(a) / sizeof(a[0]))
#define CHRRACE(chr) (chr ? chr->race : RACE_HUMAN)
#define CRASH() *(u8 *)0 = 69
#define IS4MB() (g_Is4Mb == true)
#define IS8MB() (g_Is4Mb != true)
#define PLAYERCOUNT() ((g_Vars.players[0] ? 1 : 0) + (g_Vars.players[1] ? 1 : 0) + (g_Vars.players[2] ? 1 : 0) + (g_Vars.players[3] ? 1 : 0))