From 84422eceb3ecaa325f814b306665e58b0c3be647 Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Fri, 28 Feb 2020 11:41:30 +0800 Subject: Added CdOpenDir(), CdReadDir() and CdCloseDir(). Fixed SpuKeyOn() bug and added cdbrowse example. --- libpsn00b/psxspu/spukeyon.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libpsn00b/psxspu/spukeyon.s') 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 -- cgit v1.2.3