summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-19 05:24:50 +0200
committerTreeki <treeki@gmail.com>2012-09-19 05:24:50 +0200
commita7fc34dfdfee0c899712e0209885e40b19305d7f (patch)
treed87c02fae0f59bd98fb383836da29739a0e07c17 /src
parenta6e653e973d1b4ec402e5b7f34093849bbd60745 (diff)
downloadkamek-a7fc34dfdfee0c899712e0209885e40b19305d7f.tar.gz
kamek-a7fc34dfdfee0c899712e0209885e40b19305d7f.zip
couple of fixes
Diffstat (limited to 'src')
-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
};