mirror of
https://github.com/zeldaret/oot
synced 2026-07-24 05:58:30 -04:00
Decompile jpegutils.c (#75)
* Decompile jpegutils.c jpegutils.c : OK * Fix a typo * Fixes in PR #75 - Fix a type in JpegWork - Remove clang-format off/on in z_quake.c - Move the jpegutils rule at the end of makefile
This commit is contained in:
@@ -40,8 +40,9 @@ s32 osReadMempak(OSMesgQueue* ctrlrqueue, s32 ctrlridx, u16 addr, PIF_mempak_dat
|
||||
if (!ret) {
|
||||
if (bufptr[0x26] != osMempakDataCRC(bufptr + 6)) {
|
||||
ret = func_80101910(ctrlrqueue, ctrlridx);
|
||||
if (ret)
|
||||
if (ret) {
|
||||
break;
|
||||
}
|
||||
ret = 4; // Retry
|
||||
} else {
|
||||
bcopy(bufptr + 6, data, 0x20);
|
||||
@@ -49,8 +50,9 @@ s32 osReadMempak(OSMesgQueue* ctrlrqueue, s32 ctrlridx, u16 addr, PIF_mempak_dat
|
||||
} else {
|
||||
ret = 1; // Error
|
||||
}
|
||||
if (ret != 4)
|
||||
if (ret != 4) {
|
||||
break;
|
||||
}
|
||||
} while (0 <= read_try_count--);
|
||||
__osSiRelAccess();
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user