diff options
| author | cadmic <cadmic24@gmail.com> | 2025-01-14 08:55:47 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-14 11:55:47 -0500 |
| commit | 2b9b7a40b0f80199ca9776888bf6efdf85e8bd4c (patch) | |
| tree | c076ffb4fc28c2af24bef4bef024089e6b7020f2 /include | |
| parent | e2ed5568e5b7ec77796b43c12e30311e0fd84fec (diff) | |
[iQue] Match z_end_title, z_construct, z_common_data, z_parameter, z_title, z_opening (#2424)
* [iQue] Match z_end_title
* [iQue] Match z_construct
* [iQue] Match z_common_data
* [iQue] Match z_parameter
* [iQue] Match z_title, z_opening
* Actually match z_parameter
* Give up on stack issues
* this->exit = true
Diffstat (limited to 'include')
| -rw-r--r-- | include/macros.h | 4 | ||||
| -rw-r--r-- | include/z64view.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/macros.h b/include/macros.h index c5264ba6a..343484028 100644 --- a/include/macros.h +++ b/include/macros.h @@ -105,12 +105,12 @@ #define LOG_FLOAT(exp, value, file, line) LOG(exp, value, "%f", file, line) #define SET_NEXT_GAMESTATE(curState, newInit, newStruct) \ - do { \ + if (1) { \ GameState* state = curState; \ \ (state)->init = newInit; \ (state)->size = sizeof(newStruct); \ - } while (0) + } (void)0 #if DEBUG_FEATURES diff --git a/include/z64view.h b/include/z64view.h index 3eb3755a2..5661a2640 100644 --- a/include/z64view.h +++ b/include/z64view.h @@ -15,10 +15,10 @@ typedef struct Viewport { #define SET_FULLSCREEN_VIEWPORT(view) \ { \ Viewport viewport; \ - viewport.bottomY = SCREEN_HEIGHT; \ - viewport.rightX = SCREEN_WIDTH; \ viewport.topY = 0; \ + viewport.bottomY = SCREEN_HEIGHT; \ viewport.leftX = 0; \ + viewport.rightX = SCREEN_WIDTH; \ View_SetViewport(view, &viewport); \ } \ (void)0 |
