aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxspu/spukeyon.s
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2020-02-28 11:41:30 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2020-02-28 11:41:30 +0800
commit84422eceb3ecaa325f814b306665e58b0c3be647 (patch)
tree40abe71be412ee2845a66d46fe1146a073c04c52 /libpsn00b/psxspu/spukeyon.s
parente14a2a4cde7fa2518df2cb0ed7063962bd52a46e (diff)
downloadpsn00bsdk-84422eceb3ecaa325f814b306665e58b0c3be647.tar.gz
Added CdOpenDir(), CdReadDir() and CdCloseDir(). Fixed SpuKeyOn() bug and added cdbrowse example.
Diffstat (limited to 'libpsn00b/psxspu/spukeyon.s')
-rw-r--r--libpsn00b/psxspu/spukeyon.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpsn00b/psxspu/spukeyon.s b/libpsn00b/psxspu/spukeyon.s
index 556f976..33592c2 100644
--- a/libpsn00b/psxspu/spukeyon.s
+++ b/libpsn00b/psxspu/spukeyon.s
@@ -11,6 +11,7 @@ SpuKeyOn:
lui $v1, IOBASE
li $v0, 1
sll $v0, $a0
- sh $v0, SPU_KEY_ON($v1)
+ sw $v0, SPU_KEY_ON($v1)
+ sw $v0, SPU_KEY_ON($v1)
jr $ra
nop \ No newline at end of file