Browse Source

Fix sprite end code.

master
Ben Kurtovic 8 years ago
parent
commit
af6857eccc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/vdp.c

+ 1
- 1
src/vdp.c View File

@@ -245,7 +245,7 @@ static void draw_sprites(VDP *vdp)

for (i = 0; i < 64; i++) {
uint8_t y = sat[i] + 1;
if (y == 0xD0)
if (y == 0xD0 + 1)
break;
if (vdp->v_counter >= y && vdp->v_counter < y + (height * 8)) {
if (nsprites >= 8) {


Loading…
Cancel
Save