aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--libpsn00b/psxgpu/drawprim.s1
2 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 14603d3..d1f7c3c 100644
--- a/README.md
+++ b/README.md
@@ -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)