mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-10 12:29:01 +00:00
Adds one-before-the-graphics as a line for video collection.
Thereby corrects sprites on line 0.
This commit is contained in:
parent
da57df55e8
commit
b0616ee10c
@ -168,7 +168,7 @@ void TMS9918::run_for(const HalfCycles cycles) {
|
|||||||
// ------------------------------
|
// ------------------------------
|
||||||
// Perform video memory accesses.
|
// 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.
|
const int access_slot = column_ >> 1; // There are only 171 available memory accesses per line.
|
||||||
switch(line_mode_) {
|
switch(line_mode_) {
|
||||||
case LineMode::Text:
|
case LineMode::Text:
|
||||||
|
Loading…
Reference in New Issue
Block a user