diff options
| author | John Wilbert M. Villamor <lameguy64@gmail.com> | 2019-06-24 20:07:08 +0800 |
|---|---|---|
| committer | John Wilbert M. Villamor <lameguy64@gmail.com> | 2019-06-24 20:07:08 +0800 |
| commit | 7a4c1e317c80b36f98821147a3dd2a1ad0d3d4bb (patch) | |
| tree | facd84391363b022decbbd9e6e477b360fafa5f7 | |
| parent | 447e13ea2f70217659f83ef54ac35072d3aaf145 (diff) | |
| download | psn00bsdk-7a4c1e317c80b36f98821147a3dd2a1ad0d3d4bb.tar.gz | |
Fixed bug in DrawPrim() where it sends 1 extra junk word
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | libpsn00b/psxgpu/drawprim.s | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -28,7 +28,7 @@ performance reasons. ## Notable features -As of libpsn00b run-time library v0.10 +As of libpsn00b run-time library v0.10b * Extensive GPU support with polygon primitives, high-speed DMA VRAM transfers and DMA ordering table processing. All video modes for both NTSC diff --git a/libpsn00b/psxgpu/drawprim.s b/libpsn00b/psxgpu/drawprim.s index a216720..de5afbd 100644 --- a/libpsn00b/psxgpu/drawprim.s +++ b/libpsn00b/psxgpu/drawprim.s @@ -23,6 +23,7 @@ DrawPrim: move $a0, $s0 lbu $a1, 3($a0) # Get length of primitive packet addiu $a0, 4 + addiu $a1, -1 .Ltransfer_loop: lw $v0, 0($a0) |
