1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-29 12:50:28 +00:00

Correct bit test.

This commit is contained in:
Thomas Harte 2021-09-23 20:42:31 -04:00
parent f1d514470d
commit cad1a9e0f1

View File

@ -23,7 +23,7 @@ void Blitter::set_control(int index, uint16_t value) {
} else { } else {
minterms_ = value & 0xff; minterms_ = value & 0xff;
channel_enables_[3] = value & 0x100; channel_enables_[3] = value & 0x100;
channel_enables_[2] = value & 0x20; channel_enables_[2] = value & 0x200;
channel_enables_[1] = value & 0x400; channel_enables_[1] = value & 0x400;
channel_enables_[0] = value & 0x800; channel_enables_[0] = value & 0x800;
} }