From 6efb59069962abeeaa2ebf1d959cd344ed2aacb9 Mon Sep 17 00:00:00 2001 From: Roman971 <32455037+Roman971@users.noreply.github.com> Date: Fri, 26 Nov 2021 23:37:33 +0100 Subject: Various minor cleanups (#1029) * Fix some disp usage in EffectSsGMagma2 * Fix some incorrect SAC flags * Remove some instances where bool was used * Fix a few line numbers to be decimal * Remove MatrixInternal and use Mtx instead * Fix gs flag names to be plural for consistency * Fix some hex numbers to be uppercase * Fix instances of 0X for hex numbers --- src/libultra_code_O2/guLookAtHilite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libultra_code_O2/guLookAtHilite.c') diff --git a/src/libultra_code_O2/guLookAtHilite.c b/src/libultra_code_O2/guLookAtHilite.c index ebb915724..d1070b579 100644 --- a/src/libultra_code_O2/guLookAtHilite.c +++ b/src/libultra_code_O2/guLookAtHilite.c @@ -1,6 +1,6 @@ #include "global.h" -#define FTOFRAC8(x) ((s32)MIN(((x) * (128.0f)), 127.0f) & 0xff) +#define FTOFRAC8(x) ((s32)MIN(((x) * (128.0f)), 127.0f) & 0xFF) /** * guLookAtHiliteF -- cgit v1.2.3