summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/fileselect.S2
-rw-r--r--src/newer.cpp2
2 files changed, 2 insertions, 2 deletions
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
};