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_boot_O2/osViSetXScale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libultra_boot_O2/osViSetXScale.c') diff --git a/src/libultra_boot_O2/osViSetXScale.c b/src/libultra_boot_O2/osViSetXScale.c index 21b4f7aea..aeeb5e784 100644 --- a/src/libultra_boot_O2/osViSetXScale.c +++ b/src/libultra_boot_O2/osViSetXScale.c @@ -7,7 +7,7 @@ void osViSetXScale(f32 value) { __osViNext->x.factor = value; __osViNext->state |= 0x2; - nomValue = __osViNext->modep->comRegs.xScale & 0xfff; + nomValue = __osViNext->modep->comRegs.xScale & 0xFFF; __osViNext->x.scale = (u32)(__osViNext->x.factor * nomValue) & 0xFFF; __osRestoreInt(prevInt); -- cgit v1.2.3