diff --git a/Components/9918/Implementation/YamahaCommands.hpp b/Components/9918/Implementation/YamahaCommands.hpp index 0f4b15e87..3783f6c6d 100644 --- a/Components/9918/Implementation/YamahaCommands.hpp +++ b/Components/9918/Implementation/YamahaCommands.hpp @@ -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.