From a7fc34dfdfee0c899712e0209885e40b19305d7f Mon Sep 17 00:00:00 2001 From: Treeki Date: Wed, 19 Sep 2012 05:24:50 +0200 Subject: couple of fixes --- fileselect.yaml | 2 +- src/fileselect.S | 2 +- src/newer.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fileselect.yaml b/fileselect.yaml index a432a13..90c18f9 100644 --- a/fileselect.yaml +++ b/fileselect.yaml @@ -147,6 +147,6 @@ hooks: - {name: DFNiceTitle, type: branch_insn, branch_type: bl, src_addr_pal: 0x8077D044, target_func: 'DFNiceTitle'} - {name: DFNiceWorldName, type: branch_insn, branch_type: bl, src_addr_pal: 0x8077DA10, target_func: 'DFNiceWorldName'} - - {name: FSDebugStates, type: add_func_pointer, src_addr_pal: 0x80943E38, target_func: 'FSDebugStates'} +# - {name: FSDebugStates, type: add_func_pointer, src_addr_pal: 0x80943E38, target_func: 'FSDebugStates'} diff --git a/src/fileselect.S b/src/fileselect.S index 3145846..75f3130 100644 --- a/src/fileselect.S +++ b/src/fileselect.S @@ -86,7 +86,7 @@ DFNiceWorldName: b gotName invalidThing: lis r4, InvalidWorld@h - ori r4, InvalidWorld@l + ori r4, r4, InvalidWorld@l gotName: mr r3, r20 diff --git a/src/newer.cpp b/src/newer.cpp index 3e08ded..6d672e2 100644 --- a/src/newer.cpp +++ b/src/newer.cpp @@ -66,7 +66,7 @@ const wchar_t *NewerWorldNames[] = { }; // This is an array so it can be accessed from fileselect.S -const int *NewerWorldCount[] = { +int NewerWorldCount[] = { 18 }; -- cgit v1.2.3