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/__osContRamWrite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libultra_code_O2/__osContRamWrite.c') diff --git a/src/libultra_code_O2/__osContRamWrite.c b/src/libultra_code_O2/__osContRamWrite.c index d65f86a19..e27c03227 100644 --- a/src/libultra_code_O2/__osContRamWrite.c +++ b/src/libultra_code_O2/__osContRamWrite.c @@ -27,11 +27,11 @@ s32 __osContRamWrite(OSMesgQueue* mq, s32 channel, u16 address, u8* buffer, s32 gPifMempakBuf.status = 1; - ((__OSContRamHeader*)ptr)->unk_00 = 0xff; + ((__OSContRamHeader*)ptr)->unk_00 = 0xFF; ((__OSContRamHeader*)ptr)->txsize = 35; ((__OSContRamHeader*)ptr)->rxsize = 1; ((__OSContRamHeader*)ptr)->poll = CONT_CMD_WRITE_MEMPACK; - ((__OSContRamHeader*)ptr)->datacrc = 0xff; + ((__OSContRamHeader*)ptr)->datacrc = 0xFF; ptr[sizeof(__OSContRamHeader)] = CONT_CMD_END; } else { -- cgit v1.2.3