Fix sprite index in vic.c
This commit is contained in:
parent
2003f2f4fd
commit
ea2b59e64d
|
@ -8,8 +8,8 @@ void vic_setbank(char bank)
|
|||
|
||||
void vic_sprxy(byte s, int x, int y)
|
||||
{
|
||||
vic.spr_pos[0].y = y;
|
||||
vic.spr_pos[0].x = x & 0xff;
|
||||
vic.spr_pos[s].y = y;
|
||||
vic.spr_pos[s].x = x & 0xff;
|
||||
if (x & 0x100)
|
||||
vic.spr_msbx |= 1 << s;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue