summaryrefslogtreecommitdiff
path: root/src/soundPlayer.S
diff options
context:
space:
mode:
authorStephen Simpson <megazig@gmail.com>2011-10-11 00:00:45 -0500
committerStephen Simpson <megazig@gmail.com>2011-10-11 00:00:45 -0500
commit10cf77e8d624b18d8e9be7f6fd4c6b207da3f432 (patch)
tree923306cf050927bb4499cdaea23bcdd9b47e219b /src/soundPlayer.S
parenta3b964eca0b1acbb52396c7ed1d5ed4abdd0a39d (diff)
downloadkamek-10cf77e8d624b18d8e9be7f6fd4c6b207da3f432.tar.gz
kamek-10cf77e8d624b18d8e9be7f6fd4c6b207da3f432.zip
Fixed StopSound and renamed to StopSoundBasic for linker
Diffstat (limited to 'src/soundPlayer.S')
-rw-r--r--src/soundPlayer.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/soundPlayer.S b/src/soundPlayer.S
index 5304330..0eb165a 100644
--- a/src/soundPlayer.S
+++ b/src/soundPlayer.S
@@ -27,7 +27,6 @@
# PlaySound(dActor_c *, int soundID)
-# There's somehardcoding in here, might need to fix that for NTSC versions.
.global PlaySound
@@ -79,9 +78,12 @@ GoAwaySoundGuy:
blr
+# StopSound(int soundID)
+
.global StopSound
StopSound:
+ mr r4, r3
lwz r3, 0xA768(r13)
- b StopSound
+ b StopSoundBasic