Skip to content

Commit

Permalink
Fix height counting
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed Feb 3, 2024
1 parent 45b9cb1 commit 0bca52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/vid_c&t_69000.c
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ chips_69000_bitblt_write(chips_69000_t* chips, uint8_t data) {
} else
chips->bitblt_running.x = 0;

if (chips->bitblt_running.count_y > chips->bitblt_running.actual_destination_height) {
if (chips->bitblt_running.count_y >= chips->bitblt_running.actual_destination_height) {
chips_69000_bitblt_interrupt(chips);
return;
}
Expand Down

0 comments on commit 0bca52b

Please sign in to comment.