diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fileselect.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileselect.S b/src/fileselect.S index 19710ef..9f7f396 100644 --- a/src/fileselect.S +++ b/src/fileselect.S @@ -74,7 +74,7 @@ DFNiceWorldName: # get Newer map number lbz r6, 0x6FC(r31) lis r8, NewerWorldCount@h - ori r8, r8, NewerWorldCount@h + ori r8, r8, NewerWorldCount@l lwz r8, 0(r8) cmpw r6, r8 bge invalidThing @@ -82,7 +82,6 @@ DFNiceWorldName: lis r7, NewerWorldNames@h ori r7, r7, NewerWorldNames@l lwzx r4, r7, r6 - li r5, 0 b gotName invalidThing: lis r4, InvalidWorld@h @@ -90,6 +89,7 @@ invalidThing: gotName: mr r3, r20 + li r5, 0 lwz r12, 0(r3) lwz r12, 0x7C(r12) mtctr r12 |