diff options
| author | Roman971 <romanlasnier@hotmail.com> | 2020-03-18 22:18:25 +0100 |
|---|---|---|
| committer | Roman971 <romanlasnier@hotmail.com> | 2020-03-22 21:09:54 +0100 |
| commit | 251aea64ab3e6e8cd6f1d9ed34f514e656724777 (patch) | |
| tree | 76f7662fd1e79565108d8f46beeb84f57abe9c65 /src/code/z_sample.c | |
| parent | 0704beba8dde8ef043a73f11149c9267a6c63bbc (diff) | |
Add comments and macros to prevent match issues with formatting
Diffstat (limited to 'src/code/z_sample.c')
| -rw-r--r-- | src/code/z_sample.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/code/z_sample.c b/src/code/z_sample.c index eb29dc475..9aaf1db51 100644 --- a/src/code/z_sample.c +++ b/src/code/z_sample.c @@ -6,7 +6,7 @@ void Sample_Calc(SampleContext* this) { if (!~(this->state.input[0].padPressed | ~START_BUTTON)) { - this->state.init = func_800BCA64; this->state.size = sizeof(GlobalContext); + SET_NEXT_GAMESTATE(&this->state, func_800BCA64, GlobalContext); this->state.running = false; } } @@ -73,9 +73,10 @@ void Sample_SetupView(SampleContext* this) gfxCtx = this->state.gfxCtx; func_800AA278(view, gfxCtx); + // clang-format off v0[1] = SCREEN_HEIGHT; v0[3] = SCREEN_WIDTH; - v0[0] = 0; - v0[2] = 0; + v0[0] = 0; v0[2] = 0; + // clang-format on func_800AA4FC(view, &v0); func_800AA460(view, 60, 10, 12800); |
