lsw: JPN fix master
authorBernhard Urban <lewurm@gmail.com>
Mon, 7 Feb 2011 23:42:48 +0000 (00:42 +0100)
committerBernhard Urban <lewurm@gmail.com>
Mon, 7 Feb 2011 23:42:48 +0000 (00:42 +0100)
lsw/exploit2.s

index a84595800f7458be4aea5fe38f344b415906a328..b41a32b58211ca5b74e63c25b1d0a2202711036e 100644 (file)
@@ -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