int ecs, sh10;
int y, i;
TCHAR tmp[80];
- int max = 2;
+ int max = 14;
addr2 = 0;
ignore_ws(inptr);
if (ypose < ypos)
ypose += 256;
+ if (ecs_agnus) {
+ ypos = ypos_ecs;
+ ypose = ypose_ecs;
+ }
+
for (y = ypos; y < ypose; y++) {
int x;
addr += size * 4;
if (get_word_debug (addr) == 0 && get_word_debug (addr + size * 4) == 0)
break;
max--;
- if (max <= 0)
+ if (max <= 0) {
+ console_out_f(_T("Max sprite count reached.\n"));
break;
+ }
}
}