aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxgpu/putdrawenv.s
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-06-23 07:42:16 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-06-23 07:42:16 +0800
commit7be9178c0f9b0e698a305ecc5c0c41fcc596a4fc (patch)
treee98c627e1da5c764563774b89b0c06d7ac5ad0a4 /libpsn00b/psxgpu/putdrawenv.s
parentae9e545c3ed33d39ce21ae13ceb8337fa34901b8 (diff)
downloadpsn00bsdk-7be9178c0f9b0e698a305ecc5c0c41fcc596a4fc.tar.gz
LibPSn00b officially v0.10b, added psxsio library, better DrawSync() and VSync(), better reference manual.
Diffstat (limited to 'libpsn00b/psxgpu/putdrawenv.s')
-rw-r--r--libpsn00b/psxgpu/putdrawenv.s12
1 files changed, 6 insertions, 6 deletions
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