From 7be9178c0f9b0e698a305ecc5c0c41fcc596a4fc Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Sun, 23 Jun 2019 07:42:16 +0800 Subject: LibPSn00b officially v0.10b, added psxsio library, better DrawSync() and VSync(), better reference manual. --- libpsn00b/psxgpu/putdrawenv.s | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libpsn00b/psxgpu/putdrawenv.s') diff --git a/libpsn00b/psxgpu/putdrawenv.s b/libpsn00b/psxgpu/putdrawenv.s index 69af437..c0d5676 100644 --- a/libpsn00b/psxgpu/putdrawenv.s +++ b/libpsn00b/psxgpu/putdrawenv.s @@ -97,7 +97,7 @@ PutDrawEnv: lbu $v0, DRAW_isbg($a0) nop - beqz $v0, .no_fillVRAM + beqz $v0, .Lno_fillVRAM nop lw $v0, DRAW_isbg($a0) # FillVRAM @@ -110,7 +110,7 @@ PutDrawEnv: sw $v0, 24($a1) # 6 srl $v0, $v1, 16 # Workaround as rectangle primitives - blt $v0, 511, .no_overflow # don't accept a height of 512 + blt $v0, 511, .Lno_overflow # don't accept a height of 512 nop li $v0, 511 @@ -118,19 +118,19 @@ PutDrawEnv: andi $v1, 0xffff or $v1, $v0 -.no_overflow: +.Lno_overflow: sw $v1, 28($a1) # 7 li $v0, 0x07ffffff # Packet header (length+terminator) sw $v0, 0($a1) -.no_fillVRAM: +.Lno_fillVRAM: -.gpu_wait: # Wait for GPU to become ready for commands and DMA +.Lgpu_wait: # Wait for GPU to become ready for commands and DMA jal ReadGPUstat nop srl $v0, 26 andi $v0, 1 - beqz $v0, .gpu_wait + beqz $v0, .Lgpu_wait nop jal DrawOTag -- cgit v1.2.3