1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-26 09:29:45 +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
commit 7bc1bcd493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: