projects
/
savezelda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c58aa93
)
lsw: JPN fix
master
author
Bernhard Urban
<lewurm@gmail.com>
Mon, 7 Feb 2011 23:42:48 +0000
(
00:42
+0100)
committer
Bernhard Urban
<lewurm@gmail.com>
Mon, 7 Feb 2011 23:42:48 +0000
(
00:42
+0100)
lsw/exploit2.s
patch
|
blob
|
history
diff --git
a/lsw/exploit2.s
b/lsw/exploit2.s
index a84595800f7458be4aea5fe38f344b415906a328..b41a32b58211ca5b74e63c25b1d0a2202711036e 100644
(file)
--- a/
lsw/exploit2.s
+++ b/
lsw/exploit2.s
@@
-11,6
+11,9
@@
audio_stop_usa = 0x8038ce9c
video_stop_usa = 0x8039971c
audio_stop_usa = 0x8038ce9c
video_stop_usa = 0x8039971c
+ audio_stop_jpn = 0x803a0d4c
+ video_stop_jpn = 0x803ad748
+
audio_stop_eur = 0x8038cfec
video_stop_eur = 0x80399708
audio_stop_eur = 0x8038cfec
video_stop_eur = 0x80399708
@@
-24,6
+27,8
@@
lis 10,audio_stop_data@h ; ori 10,10,audio_stop_data@l
lis 3,audio_stop_usa@h ; ori 3,3,audio_stop_usa@l; lwz 5,0(3)
cmpw 5,10 ; beq execa
lis 10,audio_stop_data@h ; ori 10,10,audio_stop_data@l
lis 3,audio_stop_usa@h ; ori 3,3,audio_stop_usa@l; lwz 5,0(3)
cmpw 5,10 ; beq execa
+ lis 3,audio_stop_jpn@h ; ori 3,3,audio_stop_jpn@l; lwz 5,0(3)
+ cmpw 5,10 ; beq execa
lis 3,audio_stop_eur@h ; ori 3,3,audio_stop_eur@l
execa:
mtctr 3 ; bctrl
lis 3,audio_stop_eur@h ; ori 3,3,audio_stop_eur@l
execa:
mtctr 3 ; bctrl
@@
-32,6
+37,8
@@
execa:
lis 10,video_stop_data@h ; ori 10,10,video_stop_data@l
lis 3,video_stop_usa@h ; ori 3,3,video_stop_usa@l; lwz 5,0(3)
cmpw 5,10 ; beq execv
lis 10,video_stop_data@h ; ori 10,10,video_stop_data@l
lis 3,video_stop_usa@h ; ori 3,3,video_stop_usa@l; lwz 5,0(3)
cmpw 5,10 ; beq execv
+ lis 3,video_stop_jpn@h ; ori 3,3,video_stop_jpn@l; lwz 5,0(3)
+ cmpw 5,10 ; beq execv
lis 3,video_stop_eur@h ; ori 3,3,video_stop_eur@l
execv:
mtctr 3 ; bctrl
lis 3,video_stop_eur@h ; ori 3,3,video_stop_eur@l
execv:
mtctr 3 ; bctrl