diff options
| author | Tharo <17233964+Thar0@users.noreply.github.com> | 2021-11-28 12:50:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-28 07:50:35 -0500 |
| commit | 982e7be1f7ed06dcd8a9026b461a5908747b8087 (patch) | |
| tree | f9ed3f8e91de3d173e57328963ef8d6553d59c92 /src/libultra_boot_O2/osCartRomInit.c | |
| parent | 09f0dc84b8e77cf2078442069bed5ee7db34af44 (diff) | |
Preliminary fixes for boot/libultra (#1032)
* Preliminary fixes
* Missed a NULL
Diffstat (limited to 'src/libultra_boot_O2/osCartRomInit.c')
| -rw-r--r-- | src/libultra_boot_O2/osCartRomInit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libultra_boot_O2/osCartRomInit.c b/src/libultra_boot_O2/osCartRomInit.c index f87d3bd05..ab54c1931 100644 --- a/src/libultra_boot_O2/osCartRomInit.c +++ b/src/libultra_boot_O2/osCartRomInit.c @@ -27,7 +27,7 @@ OSPiHandle* osCartRomInit(void) { __CartRomHandle.speed = 0; bzero(&__CartRomHandle.transferInfo, sizeof(__OSTranxInfo)); - while (status = HW_REG(PI_STATUS_REG, u32), status & PI_STATUS_ERROR) { + while (status = HW_REG(PI_STATUS_REG, u32), status & (PI_STATUS_BUSY | PI_STATUS_IOBUSY)) { ; } |
