mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-07 05:30:30 +00:00
Correct deserialisation order.
This commit is contained in:
parent
75acbd2d6c
commit
1bf8406e7e
@ -294,9 +294,10 @@ void Base<personality>::draw_yamaha(LineBuffer &buffer, int start, int end) {
|
|||||||
// TODO: sprites. And all other graphics modes.
|
// TODO: sprites. And all other graphics modes.
|
||||||
|
|
||||||
if constexpr (mode == ScreenMode::YamahaGraphics5) {
|
if constexpr (mode == ScreenMode::YamahaGraphics5) {
|
||||||
|
// TODO: a much smarter loop.
|
||||||
for(int c = start >> 1; c < end >> 1; c++) {
|
for(int c = start >> 1; c < end >> 1; c++) {
|
||||||
pixel_target_[c] = Storage<personality>::palette_[
|
pixel_target_[c] = Storage<personality>::palette_[
|
||||||
(buffer.bitmap[c >> 2] >> ((c & 3) << 1)) & 3
|
buffer.bitmap[c >> 2] >> ((((c & 3) ^ 3) << 1)) & 3
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user