diff options
| author | Roman971 <32455037+Roman971@users.noreply.github.com> | 2021-11-26 23:37:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-26 17:37:33 -0500 |
| commit | 6efb59069962abeeaa2ebf1d959cd344ed2aacb9 (patch) | |
| tree | 3738ef704bbf4025ef923aa66a8bb29d2883af81 /src/libultra_boot_O2/osCartRomInit.c | |
| parent | c36decaf50c2deaf5010edbf73de8e0e3d725d48 (diff) | |
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
Diffstat (limited to 'src/libultra_boot_O2/osCartRomInit.c')
| -rw-r--r-- | src/libultra_boot_O2/osCartRomInit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libultra_boot_O2/osCartRomInit.c b/src/libultra_boot_O2/osCartRomInit.c index ff5dc8292..f87d3bd05 100644 --- a/src/libultra_boot_O2/osCartRomInit.c +++ b/src/libultra_boot_O2/osCartRomInit.c @@ -22,7 +22,7 @@ OSPiHandle* osCartRomInit(void) { D_8000AF10 = 0; __CartRomHandle.type = DEVICE_TYPE_CART; - __CartRomHandle.baseAddress = 0xb0000000; + __CartRomHandle.baseAddress = 0xB0000000; __CartRomHandle.domain = 0; __CartRomHandle.speed = 0; bzero(&__CartRomHandle.transferInfo, sizeof(__OSTranxInfo)); @@ -36,10 +36,10 @@ OSPiHandle* osCartRomInit(void) { lastRelDuration = HW_REG(PI_BSD_DOM1_RLS_REG, u32); lastPulse = HW_REG(PI_BSD_DOM1_PWD_REG, u32); - HW_REG(PI_BSD_DOM1_LAT_REG, u32) = 0xff; + HW_REG(PI_BSD_DOM1_LAT_REG, u32) = 0xFF; HW_REG(PI_BSD_DOM1_PGS_REG, u32) = 0; HW_REG(PI_BSD_DOM1_RLS_REG, u32) = 3; - HW_REG(PI_BSD_DOM1_PWD_REG, u32) = 0xff; + HW_REG(PI_BSD_DOM1_PWD_REG, u32) = 0xFF; a = HW_REG(__CartRomHandle.baseAddress, u32); __CartRomHandle.latency = a & 0xFF; |
