mirror of
https://github.com/pret/pokerevo.git
synced 2026-04-26 02:40:01 -05:00
match loop body in func_801DD294
This commit is contained in:
parent
6fcf5988b1
commit
b65c4ed97a
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
.section .sdata, "wa" # 0x8063D2C0 - 0x8063E8E0
|
||||
|
||||
.global lbl_8063D6F8
|
||||
lbl_8063D6F8:
|
||||
.incbin "baserom.dol", 0x471438, 0x70
|
||||
.global lbl_8063D6FE
|
||||
lbl_8063D6FE:
|
||||
.incbin "baserom.dol", 0x471438, 0x6A
|
||||
.global lbl_8063D768
|
||||
lbl_8063D768:
|
||||
.incbin "baserom.dol", 0x4714A8, 0x38
|
||||
|
|
|
|||
|
|
@ -149,13 +149,13 @@ BOOL func_801DD294(gUnkClass4* p1, const char* fileName, s32)
|
|||
// check if already open
|
||||
if (func_801DCEB4(p1, fileName))
|
||||
return TRUE;
|
||||
// TODO: unroll this loop
|
||||
gUnkClass6* r29 = p1->arr - 1;
|
||||
|
||||
gUnkClass6* r29;
|
||||
size_t i;
|
||||
for (i = 0; i < 8; i++) {
|
||||
r29++;
|
||||
r29 = p1->arr + i;
|
||||
if (!p1->arr[i].unk0) {
|
||||
r29 = &p1->arr[i];
|
||||
r29 = p1->arr + i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user