summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fileselect.yaml2
-rw-r--r--src/fileselect.S2
-rw-r--r--src/newer.cpp2
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
};