From f93cdd21deb74925f9bb5cfad1d687be79dba05d Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 2 Nov 2019 21:53:04 -0400 Subject: [PATCH] Reverses bit order. So, for the first time: a green desktop. --- Machines/AtariST/Video.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Machines/AtariST/Video.cpp b/Machines/AtariST/Video.cpp index bc035aeb3..8d6fcfeaa 100644 --- a/Machines/AtariST/Video.cpp +++ b/Machines/AtariST/Video.cpp @@ -105,10 +105,10 @@ void Video::run_for(HalfCycles duration) { for(int c = 0; c < 16; ++c) { *pixel_pointer_ = palette_[ - ((source[0] >> 12) & 0x8) | - ((source[1] >> 13) & 0x4) | - ((source[2] >> 14) & 0x2) | - ((source[3] >> 15) & 0x1) + ((source[3] >> 12) & 0x8) | + ((source[2] >> 13) & 0x4) | + ((source[1] >> 14) & 0x2) | + ((source[0] >> 15) & 0x1) ]; source[0] <<= 1; source[1] <<= 1;