1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-05 10:28:58 +00:00

VRES appears to work negatively in attribute mode too.

This commit is contained in:
Thomas Harte 2021-06-28 21:24:13 -04:00
parent 3c59042388
commit a5c57e777e

View File

@ -412,16 +412,10 @@ void Nick::run_for(Cycles duration) {
++line_data_pointer_[1];
break;
case Mode::Attr:
// Reload the attribute address if VRES is set.
if(vres_) {
line_data_pointer_[0] = start_line_data_pointer_[0];
}
break;
case Mode::Pixel:
case Mode::LPixel:
// If VRES is clear, reload the pixel address.
case Mode::Attr:
// Reload the pixel or attribute address if VRES is clear.
if(!vres_) {
line_data_pointer_[0] = start_line_data_pointer_[0];
}