Skip to content

Commit

Permalink
video: fix artefacts and wrong x position in Spectrum/Thomson mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Fosdick committed Aug 28, 2022
1 parent 6019a07 commit a2d8f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ void video_poll(int clocks, int timer_enable)
else if (nula_attribute_mode >= 2) {
/* Spectrum mode */
if (nula_spect_toggle) {
for (int c = 0; c < 16; c += 2) {
for (int c = -8; c < 8; c += 2) {
int colour = dat & 0x80 ? nula_spect_ink : nula_spect_paper;
nula_putpixel(region, scrx + c, scry, colour);
nula_putpixel(region, scrx + c + 1, scry, colour);
Expand Down

0 comments on commit a2d8f22

Please sign in to comment.