amiga: improved offset in copper waiting

This commit is contained in:
Roberto Zandona 2010-09-24 10:00:52 +00:00
parent 36dc4b8474
commit d8b555862a

View File

@ -204,7 +204,7 @@ int amiga_copper_execute_next(running_machine *machine, int xpos)
#if GUESS_COPPER_OFFSET #if GUESS_COPPER_OFFSET
return xpos + COPPER_CYCLES_TO_PIXELS(1 + state->wait_offset); return xpos + COPPER_CYCLES_TO_PIXELS(1 + state->wait_offset);
#else #else
return xpos + COPPER_CYCLES_TO_PIXELS(1 + 3); return xpos + COPPER_CYCLES_TO_PIXELS(1 + 1);
#endif #endif
} }
@ -636,7 +636,7 @@ void amiga_render_scanline(running_machine *machine, bitmap_t *bitmap, int scanl
CUSTOM_REG(REG_COLOR00) = state->genlock_color; CUSTOM_REG(REG_COLOR00) = state->genlock_color;
/* loop over the line */ /* loop over the line */
next_copper_x = 2; /* copper runs on odd timeslots */ next_copper_x = 0;
for (x = 0; x < 0xe4*2; x++) for (x = 0; x < 0xe4*2; x++)
{ {
int sprpix; int sprpix;