aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxgpu/drawsynccallback.s
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-07-17 11:30:07 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-07-17 11:30:07 +0800
commit0d4345a9bf2623df079c50a3bc73cbb7deca1176 (patch)
tree6cda70b844f39fc2d65a806b91a6010066433b56 /libpsn00b/psxgpu/drawsynccallback.s
parentb956c5391b955e793a4d54572aa58872b4c66c30 (diff)
downloadpsn00bsdk-0d4345a9bf2623df079c50a3bc73cbb7deca1176.tar.gz
Added C++ support, updated build instructions and makefiles, consolidated libc and libgcc (during build process), libraries now v0.12b and more
Diffstat (limited to 'libpsn00b/psxgpu/drawsynccallback.s')
-rw-r--r--libpsn00b/psxgpu/drawsynccallback.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpsn00b/psxgpu/drawsynccallback.s b/libpsn00b/psxgpu/drawsynccallback.s
index c1e28fe..37c0375 100644
--- a/libpsn00b/psxgpu/drawsynccallback.s
+++ b/libpsn00b/psxgpu/drawsynccallback.s
@@ -17,9 +17,12 @@ DrawSyncCallback:
beqz $a0, .Luninstall
nop
+
la $a1, _drawsync_handler
+ lw $a1, 4($sp)
jal DMACallback
li $a0, 2
+
b .Lcontinue
nop
@@ -52,7 +55,6 @@ DrawSyncCallback:
_drawsync_handler:
.Ldma_wait:
-
la $v0, _drawsync_func
lw $v0, 0($v0)
nop