This website works better with JavaScript.
Home
Help
Sign In
ben
/
crater
mirror of
https://github.com/earwig/crater
Watch
1
Star
1
Fork
0
Code
Releases
0
Activity
Browse Source
Fix sprite end code.
master
Ben Kurtovic
8 years ago
parent
e48d7daa0d
commit
af6857eccc
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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) {
Write
Preview
Loading…
Cancel
Save