mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-28 01:29:18 +00:00
(Dr. Mario Fixes) Correct out of range crash when palette selection is anything but zero.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
parent
960d6ff181
commit
5631d2b367
@ -25,7 +25,7 @@ namespace EightBit {
|
||||
auto lowPriority() const { return !priority(); }
|
||||
auto flipY() const { return !!(flags() & Chip::Bit6); }
|
||||
auto flipX() const { return !!(flags() & Chip::Bit5); }
|
||||
auto palette() const { return (flags() & Chip::Bit4) >> 3; }
|
||||
auto palette() const { return (flags() & Chip::Bit4) >> 4; }
|
||||
|
||||
private:
|
||||
uint8_t m_positionY;
|
||||
|
Loading…
Reference in New Issue
Block a user