diff options
author | 2025-01-01 12:39:59 +0100 | |
---|---|---|
committer | 2025-01-01 12:51:21 +0100 | |
commit | 41eb43ca9758c0ecdc1c1e65b57ce3d798ed7389 (patch) | |
tree | e60cd34ff9e7fa2af575b3ee2028b888febf917b | |
parent | e75089331108cb213b2f5dbae38d177b52fc9fa7 (diff) |
amiga/amiga_v: don't run copper cycles for ephemeral out of beam phase
-rw-r--r-- | src/mame/amiga/amiga_v.cpp | 2 | ||||
-rw-r--r-- | src/mame/amiga/amigaaga.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/amiga/amiga_v.cpp b/src/mame/amiga/amiga_v.cpp index 709a08dac37..00814e11d41 100644 --- a/src/mame/amiga/amiga_v.cpp +++ b/src/mame/amiga/amiga_v.cpp @@ -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; diff --git a/src/mame/amiga/amigaaga.cpp b/src/mame/amiga/amigaaga.cpp index d56f793d406..ed16ee32b3f 100644 --- a/src/mame/amiga/amigaaga.cpp +++ b/src/mame/amiga/amigaaga.cpp @@ -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 |