1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-30 07:55:01 +00:00

Added an explicit cast.

This commit is contained in:
Thomas Harte 2017-07-31 22:04:31 -04:00
parent cb0dc7b434
commit 5a396f6787

View File

@ -74,7 +74,7 @@ template <class T> class CRTC6845 {
line_is_visible_ = true;
line_counter_ = 0;
is_in_adjustment_period_ = false;
line_address_ = (registers_[12] << 8) | registers_[13];
line_address_ = (uint16_t)((registers_[12] << 8) | registers_[13]);
bus_state_.refresh_address = line_address_;
}
} else {