diff options
| author | Tharo <17233964+Thar0@users.noreply.github.com> | 2024-12-02 09:40:49 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-02 04:40:49 -0500 |
| commit | 3f703a39d91b0f90a273ca24fedfc7e6578ad363 (patch) | |
| tree | 43437f65da1a62794a87e29d28a9bf4df5e2c6b5 /src/code/z_vimode.c | |
| parent | 6199634ffb42872d053abb1502eb80474de4ae56 (diff) | |
Fix some more GCC warnings, mark some bugs based on GCC warnings (#2309)
* Fix some more GCC warnings, mark some bugs based on GCC warnings
* Weird formatting
* Suggested changes
* More weird indentation I guess
* UNREACHABLE() macro, add missing NORETURNs to fault_n64.c
* AVOID_UB for PAL path in z_file_nameset.c
* Remove comments about return types
* Remove temp no longer needed
Diffstat (limited to 'src/code/z_vimode.c')
| -rw-r--r-- | src/code/z_vimode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code/z_vimode.c b/src/code/z_vimode.c index a97181075..59fa5df2d 100644 --- a/src/code/z_vimode.c +++ b/src/code/z_vimode.c @@ -149,15 +149,15 @@ void ViMode_Configure(ViMode* viMode, s32 type, s32 tvType, s32 loRes, s32 antia viMode->customViMode.comRegs.hSync += HSYNC(1, 4); } if (tvType == OS_TV_MPAL) { - viMode->customViMode.comRegs.leap += LEAP((u16)-4, (u16)-2); + viMode->customViMode.comRegs.leap += LEAP(-4, -2); } } else { - viMode->customViMode.fldRegs[0].vStart += START((u16)-3, (u16)-2); + viMode->customViMode.fldRegs[0].vStart += START(-3, -2); if (tvType == OS_TV_MPAL) { - viMode->customViMode.fldRegs[0].vBurst += BURST((u8)-2, (u8)-1, 12, -1); + viMode->customViMode.fldRegs[0].vBurst += BURST(-2, -1, 12, -1); } if (tvType == OS_TV_PAL) { - viMode->customViMode.fldRegs[1].vBurst += BURST((u8)-2, (u8)-1, 2, 0); + viMode->customViMode.fldRegs[1].vBurst += BURST(-2, -1, 2, 0); } } |
