commit f7f05c3ee025affd1d3194de810ff31b0fd23491
parent f0f0b389b8ad2629619c1d8063704fc2481edebc
Author: Olav Sørensen <olav.sorensen@live.no>
Date: Sat, 11 May 2024 12:58:31 +0200
Fixed some stupid things (don't drink and code!)
Diffstat:
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -1,5 +1,6 @@
vs2019_project/.vs/ft2-clone/v16/.suo
+vs2019_project/enc_temp_folder/*
vs2019_project/ft2-clone/Release/ft2-clone.vcxproj.FileListAbsolute.txt
vs2019_project/ft2-clone/x64/Debug/ft2-clone.vcxproj.FileListAbsolute.txt
vs2019_project/ft2-clone/Debug/ft2-clone.vcxproj.FileListAbsolute.txt
diff --git a/src/ft2_pattern_draw.c b/src/ft2_pattern_draw.c
@@ -83,20 +83,15 @@ void drawPatternBorders(void)
if (ui.extendedPatternEditor)
{
- vLine(0, 54, 345, PAL_DSKTOP1);
- vLine(631, 53, 346, PAL_DSKTOP2);
+ vLine(0, 69, 330, PAL_DSKTOP1);
+ vLine(631, 68, 331, PAL_DSKTOP2);
- vLine(1, 54, 345, PAL_DESKTOP);
- vLine(630, 54, 345, PAL_DESKTOP);
+ vLine(1, 69, 330, PAL_DESKTOP);
+ vLine(630, 69, 330, PAL_DESKTOP);
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);