From b0616ee10c8852c547b31ae7a3496218c5e99742 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 12 Dec 2017 21:35:33 -0500 Subject: [PATCH] Adds one-before-the-graphics as a line for video collection. Thereby corrects sprites on line 0. --- Components/9918/9918.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Components/9918/9918.cpp b/Components/9918/9918.cpp index 9bd7a0d2f..bfe4a46e5 100644 --- a/Components/9918/9918.cpp +++ b/Components/9918/9918.cpp @@ -168,7 +168,7 @@ void TMS9918::run_for(const HalfCycles cycles) { // ------------------------------ // Perform video memory accesses. // ------------------------------ - if(row_ < 192 && !blank_screen_) { + if(((row_ < 192) || (row_ == frame_lines_-1)) && !blank_screen_) { const int access_slot = column_ >> 1; // There are only 171 available memory accesses per line. switch(line_mode_) { case LineMode::Text: