mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-05 10:28:58 +00:00
Make this more obviously correct, albeit arbitrarily.
Comparing just a single bit would do.
This commit is contained in:
parent
f9c88fd598
commit
c04d292c8e
@ -55,7 +55,7 @@ struct Colour {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool has_value() const {
|
bool has_value() const {
|
||||||
return (colour & 0x3) == (colour4bpp & 0x3);
|
return (colour & 0xf) == (colour4bpp & 0xf);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Colour as written by the CPU.
|
/// Colour as written by the CPU.
|
||||||
|
Loading…
Reference in New Issue
Block a user