diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2021-05-18 20:00:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-18 20:00:36 -0400 |
| commit | c56934038a7b0bf7257b3355be2811e9d37a6b6a (patch) | |
| tree | 675ad734af876b072506a6a453fb1b415956c568 /src/code/title_setup.c | |
| parent | 091219d742adb529f0a34f985c3ce1b0e916726d (diff) | |
Format everything (#141)
* Add trailing comma
* Run format and add some missing trailing commas
* Enforce the same clang-format version for everybody
* z_en_m_fire1
Diffstat (limited to 'src/code/title_setup.c')
| -rw-r--r-- | src/code/title_setup.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/code/title_setup.c b/src/code/title_setup.c index b828491e9..0b6071219 100644 --- a/src/code/title_setup.c +++ b/src/code/title_setup.c @@ -45,22 +45,23 @@ void TitleSetup_GameStateResetContext(void) { YREG(43) = 0xB1; } -void TitleSetup_InitImpl(GameState *gameState) { +void TitleSetup_InitImpl(GameState* gameState) { func_80185908(); func_800E9360(); TitleSetup_GameStateResetContext(); gameState->running = 0; -setNextGamestate:; // This label is probably a leftover of a debug ifdef, it's essential to not have gameState->running reordered! +setNextGamestate + :; // This label is probably a leftover of a debug ifdef, it's essential to not have gameState->running reordered! SET_NEXT_GAMESTATE(gameState, Title_Init, TitleContext); } -void TitleSetup_Destroy(GameState *gameState) { +void TitleSetup_Destroy(GameState* gameState) { ; } -void TitleSetup_Init(GameState *gameState) { +void TitleSetup_Init(GameState* gameState) { gameState->destroy = &TitleSetup_Destroy; TitleSetup_InitImpl(gameState); } |
