summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-04-07 20:28:14 +0200
committerTreeki <treeki@gmail.com>2011-04-07 20:28:14 +0200
commit4ca8275ee04d36fc53db5efd3d6fa381745aa578 (patch)
tree7b54e4640ee2050ea36fac4cd3609cc17538446f /src
parent287d3e3de239eeac88ae015067ae2d750c31c1b6 (diff)
downloadkamek-4ca8275ee04d36fc53db5efd3d6fa381745aa578.tar.gz
kamek-4ca8275ee04d36fc53db5efd3d6fa381745aa578.zip
I thought I already fixed this bug... why is this code in this branch anyway?
Diffstat (limited to '')
-rw-r--r--src/scene.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scene.S b/src/scene.S
index 8a8404c..1b4b6f3 100644
--- a/src/scene.S
+++ b/src/scene.S
@@ -47,6 +47,7 @@ LoadMapScene:
# Get scene/scene.brres
lis r3, DVDClass@h
ori r3, r3, DVDClass@l
+ lwz r3, 0(r3)
addi r3, r3, 4
lis r4, EnvWorld@h
@@ -88,6 +89,7 @@ LoadMapScene:
# Get blight
lis r3, DVDClass@h
ori r3, r3, DVDClass@l
+ lwz r3, 0(r3)
addi r3, r3, 4
lis r4, EnvWorld@h
@@ -108,6 +110,7 @@ LoadMapScene:
# Do the same for blmap
lis r3, DVDClass@h
ori r3, r3, DVDClass@l
+ lwz r3, 0(r3)
addi r3, r3, 4
lis r4, EnvWorld@h