From 150d4ae9fc7a1273542c79adbfea7140ba75c988 Mon Sep 17 00:00:00 2001 From: mooinglemur Date: Tue, 19 Mar 2024 01:28:52 -0700 Subject: [PATCH] DC_VSTOP was one line too late (#252) --- src/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video.c b/src/video.c index f6837d5..e8f45be 100644 --- a/src/video.c +++ b/src/video.c @@ -1140,7 +1140,7 @@ render_line(uint16_t y, float scan_pos_x) // If video output is enabled, calculate color indices for line. if (out_mode != 0) { // Add border after if required. - if (y < vstart || y > vstop) { + if (y < vstart || y >= vstop) { uint32_t border_fill = border_color; border_fill = border_fill | (border_fill << 8); border_fill = border_fill | (border_fill << 16);