mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
amiga/amiga_v: don't run copper cycles for ephemeral out of beam phase
This commit is contained in:
parent
e750893311
commit
41eb43ca97
@ -554,7 +554,7 @@ void amiga_state::render_scanline(bitmap_rgb32 &bitmap, int scanline)
|
||||
const bool out_of_beam = x >= amiga_state::SCREEN_WIDTH / 2;
|
||||
|
||||
/* time to execute the copper? */
|
||||
if (x == next_copper_x)
|
||||
if (x == next_copper_x && !out_of_beam)
|
||||
{
|
||||
/* execute the next batch, restoring and re-saving color 0 around it */
|
||||
CUSTOM_REG(REG_COLOR00) = save_color0;
|
||||
|
@ -551,7 +551,7 @@ void amiga_state::aga_render_scanline(bitmap_rgb32 &bitmap, int scanline)
|
||||
const bool out_of_beam = x >= amiga_state::SCREEN_WIDTH / 2;
|
||||
|
||||
/* time to execute the copper? */
|
||||
if (x == next_copper_x)
|
||||
if (x == next_copper_x && !out_of_beam)
|
||||
{
|
||||
planes = (CUSTOM_REG(REG_BPLCON0) & (BPLCON0_BPU0 | BPLCON0_BPU1 | BPLCON0_BPU2)) >> 12;
|
||||
// TODO: verify number of planes that doesn't go beyond 8
|
||||
|
Loading…
Reference in New Issue
Block a user