From c91e9d43f493033d298396cc4cc80138cb703dbc Mon Sep 17 00:00:00 2001 From: Ivan Izaguirre Date: Mon, 11 Nov 2019 23:49:48 +0100 Subject: [PATCH] Fix the SHR pallette --- screenSuperHiRes.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/screenSuperHiRes.go b/screenSuperHiRes.go index 8a4f55f..bbf8b2b 100644 --- a/screenSuperHiRes.go +++ b/screenSuperHiRes.go @@ -34,9 +34,9 @@ func snapshotSuperHiResMode(a *Apple2) *image.RGBA { b1 := palleteMem[iMem] iMem++ - red := (b0 & 0x0f) << 4 - green := b1 & 0xf0 - blue := (b1 & 0x0f) << 4 + red := (b1 & 0x0f) << 4 + green := b0 & 0xf0 + blue := (b0 & 0x0f) << 4 colors[i] = color.RGBA{red, green, blue, 255} }