1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-10 00:29:40 +00:00

Use correct source for bitmap address.

This commit is contained in:
Thomas Harte 2025-01-03 17:31:27 -05:00
parent 37ec3e4605
commit fad503ca80

View File

@ -373,10 +373,8 @@ public:
case VideoMode::MulticolourBitmap:
case VideoMode::HighResBitmap:
pixels = pager_.read(uint16_t(
bitmap_base_ + (video_counter_ << 3) + vertical_sub_count_
bitmap_base_ + (character_position_ << 3) + vertical_sub_count_
));
// TODO: taking the next vertical sub count rather than the current seems to
// fix bitmap mode. So look for an off by one on that somewhere, somehow.
break;
}