aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxgte/applymatrixlv.s
diff options
context:
space:
mode:
authorspicyjpeg <thatspicyjpeg@gmail.com>2022-10-19 15:09:07 +0200
committerspicyjpeg <thatspicyjpeg@gmail.com>2022-10-19 15:09:07 +0200
commit982df5fe197c4db2be4bffe59a05c837b7508365 (patch)
treee5ddb393fca8280920724f3aa5ecec3261058fa4 /libpsn00b/psxgte/applymatrixlv.s
parent783014e53254fe17102a34c30120eeabf5227a47 (diff)
downloadpsn00bsdk-982df5fe197c4db2be4bffe59a05c837b7508365.tar.gz
Initial psxgte cleanup
Diffstat (limited to 'libpsn00b/psxgte/applymatrixlv.s')
-rw-r--r--libpsn00b/psxgte/applymatrixlv.s40
1 files changed, 0 insertions, 40 deletions
diff --git a/libpsn00b/psxgte/applymatrixlv.s b/libpsn00b/psxgte/applymatrixlv.s
deleted file mode 100644
index 3180d0f..0000000
--- a/libpsn00b/psxgte/applymatrixlv.s
+++ /dev/null
@@ -1,40 +0,0 @@
-.set noreorder
-
-.include "gtereg.inc"
-.include "inline_s.inc"
-
-.section .text
-
-
-.global ApplyMatrixLV
-.type ApplyMatrixLV, @function
-ApplyMatrixLV:
-
- # Load matrix to GTE
- lw $t0, 0($a0)
- lw $t1, 4($a0)
- ctc2 $t0, $0
- ctc2 $t1, $1
- lw $t0, 8($a0)
- lw $t1, 12($a0)
- lhu $t2, 16($a0)
- ctc2 $t0, $2
- ctc2 $t1, $3
- ctc2 $t2, $4
-
- lw $t0, 0($a1)
- lw $t1, 4($a1)
- mtc2 $t0, C2_IR1
- lw $t0, 8($a1)
- mtc2 $t1, C2_IR2
- mtc2 $t0, C2_IR3
-
- nMVMVA(1, 0, 3, 3, 0)
-
- swc2 C2_IR1, 0($a2)
- swc2 C2_IR2, 4($a2)
- swc2 C2_IR3, 8($a2)
-
- jr $ra
- move $v0, $a2
- \ No newline at end of file