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:
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