1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-25 11:17:26 +00:00

Begins this project's conversion to functional-style casts.

This commit is contained in:
Thomas Harte
2017-10-03 22:04:15 -04:00
parent ea5023ac26
commit edb9fd301c
27 changed files with 93 additions and 93 deletions
+1 -1
View File
@@ -720,7 +720,7 @@ void WD1770::posit_event(int new_event_type) {
case 0xfd: case 0xfe:
// clock is 0xc7 = 1010 0000 0010 1010 = 0xa022
write_raw_short(
(uint16_t)(
static_cast<uint16_t>(
0xa022 |
((data_ & 0x80) << 7) |
((data_ & 0x40) << 6) |