mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-16 04:44:44 +00:00
Reduce dependencies on global.h (9) (#2488)
* split game states * split all GameState headers * match fig names * deduplicate headers from bad merge * split z64actor.h into z64actor_profile.h, z_actor_dlftbls.h * fix compile error * .bss
This commit is contained in:
parent
70fde8ac3b
commit
2e4c42719b
48 changed files with 310 additions and 221 deletions
|
@ -89,14 +89,6 @@
|
|||
#define PRINTF_RST() (void)0
|
||||
#endif
|
||||
|
||||
#define SET_NEXT_GAMESTATE(curState, newInit, newStruct) \
|
||||
if (1) { \
|
||||
GameState* state = curState; \
|
||||
\
|
||||
(state)->init = newInit; \
|
||||
(state)->size = sizeof(newStruct); \
|
||||
} (void)0
|
||||
|
||||
#if DEBUG_FEATURES
|
||||
#define DMA_REQUEST_SYNC(ram, vrom, size, file, line) DmaMgr_RequestSyncDebug(ram, vrom, size, file, line)
|
||||
#define DMA_REQUEST_ASYNC(req, ram, vrom, size, unk5, queue, msg, file, line) DmaMgr_RequestAsyncDebug(req, ram, vrom, size, unk5, queue, msg, file, line)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue