Fix sprite index in vic.c

This commit is contained in:
drmortalwombat 2021-11-28 15:17:39 +01:00
parent 2003f2f4fd
commit ea2b59e64d

View File

@ -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