diff options
| author | mzxrules <mzxrules@gmail.com> | 2025-02-24 20:55:55 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-24 20:55:55 -0500 |
| commit | 2e4c42719b4dd10b328810cd2c58391063497d41 (patch) | |
| tree | 8c393d01b65983134665f106f7ec1b61107396d9 /src/code/z_sram.c | |
| parent | 70fde8ac3b591a993a2ca0a4361a528fdd07d158 (diff) | |
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
Diffstat (limited to 'src/code/z_sram.c')
| -rw-r--r-- | src/code/z_sram.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/code/z_sram.c b/src/code/z_sram.c index 2f6a3b5dc..de2f1ce72 100644 --- a/src/code/z_sram.c +++ b/src/code/z_sram.c @@ -1,10 +1,16 @@ #include "file_select_state.h" -#include "global.h" +#include "controller.h" #include "terminal.h" #include "versions.h" +#include "z64game.h" +#include "z64message.h" #include "z64save.h" +#include "z64scene.h" +#include "z64sram.h" #include "z64ss_sram.h" +#include "global.h" + #define SLOT_SIZE (sizeof(SaveContext) + 0x28) #define CHECKSUM_SIZE (sizeof(Save) / 2) @@ -1060,5 +1066,5 @@ void Sram_Alloc(GameState* gameState, SramContext* sramCtx) { ASSERT(sramCtx->readBuff != NULL, "sram->read_buff != NULL", "../z_sram.c", 1295); } -void Sram_Init(PlayState* play, SramContext* sramCtx) { +void Sram_Init(GameState* gameState, SramContext* sramCtx) { } |
