Skip to content

Commit

Permalink
oh we did implement the mosaic quirk already
Browse files Browse the repository at this point in the history
  • Loading branch information
y-ack committed Mar 31, 2024
1 parent 1d80298 commit d7ec0f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mame/taito/taito_f3_v.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,7 @@ taito_f3_state::calc_clip(const clip_plane_inf (&clip)[NUM_CLIPPLANES],

static int mosaic(int x, u8 sample) {
int x_count = (x - 46 + 114);
// hw quirk: the counter resets 2 px from the right edge...
x_count = x_count >= 432 ? x_count - 432 : x_count;
return x - (x_count % sample);
}
Expand Down

0 comments on commit d7ec0f2

Please sign in to comment.