diff options
| author | John Wilbert M. Villamor <lameguy64@gmail.com> | 2019-06-23 07:42:16 +0800 |
|---|---|---|
| committer | John Wilbert M. Villamor <lameguy64@gmail.com> | 2019-06-23 07:42:16 +0800 |
| commit | 7be9178c0f9b0e698a305ecc5c0c41fcc596a4fc (patch) | |
| tree | e98c627e1da5c764563774b89b0c06d7ac5ad0a4 /libpsn00b/psxspu/spuinit.s | |
| parent | ae9e545c3ed33d39ce21ae13ceb8337fa34901b8 (diff) | |
| download | psn00bsdk-7be9178c0f9b0e698a305ecc5c0c41fcc596a4fc.tar.gz | |
LibPSn00b officially v0.10b, added psxsio library, better DrawSync() and VSync(), better reference manual.
Diffstat (limited to 'libpsn00b/psxspu/spuinit.s')
| -rw-r--r-- | libpsn00b/psxspu/spuinit.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpsn00b/psxspu/spuinit.s b/libpsn00b/psxspu/spuinit.s index fa5ec32..51a54ea 100644 --- a/libpsn00b/psxspu/spuinit.s +++ b/libpsn00b/psxspu/spuinit.s @@ -58,11 +58,11 @@ SpuInit: li $a2, 23 -.clear_voices: +.Lclear_voices: jal SpuSetVoiceRaw move $a0, $a2 addiu $a2, -1 - bgez $a2, .clear_voices + bgez $a2, .Lclear_voices nop li $v0, 0xffff # Set all keys to off @@ -104,11 +104,11 @@ SpuInit: SpuCtrlSync: lui $v1, IOBASE andi $a0, 0x3f -.ctrl_wait: +.Lctrl_wait: lhu $v0, SPUSTAT($v1) # Get SPUSTAT value nop andi $v0, 0x3f - bne $v0, $a0, .ctrl_wait # Wait until SPUCNT and SPUSTAT are equal + bne $v0, $a0, .Lctrl_wait # Wait until SPUCNT and SPUSTAT are equal nop jr $ra nop |
