1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Make this more obviously correct, albeit arbitrarily.

Comparing just a single bit would do.
This commit is contained in:
Thomas Harte 2023-02-05 22:53:08 -05:00
parent f9c88fd598
commit c04d292c8e

View File

@ -55,7 +55,7 @@ struct Colour {
}
bool has_value() const {
return (colour & 0x3) == (colour4bpp & 0x3);
return (colour & 0xf) == (colour4bpp & 0xf);
}
/// Colour as written by the CPU.