From 63d549465b0079b7f1959f04834a78acdc637b5f Mon Sep 17 00:00:00 2001 From: Dragorn421 Date: Sun, 23 Oct 2022 06:43:05 +0200 Subject: [PATCH] bits --- include/z64.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/z64.h b/include/z64.h index bd13cdc603..d06363c1ff 100644 --- a/include/z64.h +++ b/include/z64.h @@ -775,7 +775,10 @@ typedef enum { /* 17 */ PAUSE_STATE_17, // game over KaleidoScope_DrawGameOver saveGameOver /* 18 */ PAUSE_STATE_CLOSING, // Animate the pause menu closing /* 19 */ PAUSE_STATE_UNPAUSE -} PauseCtxState; +} PauseState; + +#define IS_PAUSE_STATE_GAMEOVER(pauseCtx) \ + (((pauseCtx)->state >= PAUSE_STATE_8) && ((pauseCtx)->state <= PAUSE_STATE_17)) // Sub-states of PAUSE_STATE_MAIN typedef enum { @@ -801,9 +804,6 @@ typedef enum { /* 6 */ PAUSE_SAVE_PROMPT_STATE_RETURN_TO_MENU_ALT } PauseSavePromptState; -#define IS_PAUSE_STATE_GAMEOVER(pauseCtx) \ - (((pauseCtx)->state >= PAUSE_STATE_8) && ((pauseCtx)->state <= PAUSE_STATE_17)) - typedef enum { /* 0 */ PAUSE_BG_PRERENDER_OFF, // Inactive, do nothing. /* 1 */ PAUSE_BG_PRERENDER_DRAW, // The current frame is only drawn for the purpose of serving as the pause background.