mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 01:31:42 +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 {
|
||||
return (colour & 0x3) == (colour4bpp & 0x3);
|
||||
return (colour & 0xf) == (colour4bpp & 0xf);
|
||||
}
|
||||
|
||||
/// Colour as written by the CPU.
|
||||
|
Loading…
Reference in New Issue
Block a user