Skip to content

Commit

Permalink
Fix corrupt graphics in extended pattern mode
Browse files Browse the repository at this point in the history
  • Loading branch information
8bitbubsy committed May 10, 2024
1 parent aec208b commit f0f0b38
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ft2_pattern_draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ void drawPatternBorders(void)
hLine(0, 68, 631, PAL_DSKTOP1);
hLine(1, 69, 630, PAL_DESKTOP);

// fix corrupt graphics (not sure why, yet...)
video.frameBuffer[(67*SCREEN_W)+0] = PAL_DSKTOP1;
video.frameBuffer[(67*SCREEN_W)+1] = PAL_DSKTOP1;
video.frameBuffer[(67*SCREEN_W)+630] = PAL_DSKTOP1;

if (!ui.pattChanScrollShown)
{
hLine(1, 398, 630, PAL_DESKTOP);
Expand Down

0 comments on commit f0f0b38

Please sign in to comment.