1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-08-09 05:25:01 +00:00

Merge pull request #316 from TomHarte/SpriteTopLine

Adds one-before-the-graphics as a line for TMS video collection.
This commit is contained in:
Thomas Harte
2017-12-12 18:36:03 -08:00
committed by GitHub

View File

@@ -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: