From 9e08d1047fa8deeb3ccb3ce9bb11d69e25a52d56 Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Wed, 6 Oct 2021 10:31:45 +0800 Subject: Fixed bugs in SPU library, added vagsample example --- libpsn00b/psxspu/spusetkey.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpsn00b') diff --git a/libpsn00b/psxspu/spusetkey.s b/libpsn00b/psxspu/spusetkey.s index 25a6107..4ad0cff 100644 --- a/libpsn00b/psxspu/spusetkey.s +++ b/libpsn00b/psxspu/spusetkey.s @@ -17,10 +17,10 @@ SpuSetKey: nop jr $ra - sh $a1, SPU_KEY_ON($v1) + sw $a1, SPU_KEY_ON($a2) .Lkey_off: jr $ra - sh $a1, SPU_KEY_OFF($v1) + sw $a1, SPU_KEY_OFF($a2) \ No newline at end of file -- cgit v1.2.3