1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-20 10:17:05 +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
+1 -1
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 {