From 7ede3d2b9e63304561005ab7262a3b39411a410b Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 23 Nov 2020 21:00:26 -0500 Subject: [PATCH] Corrects collection of palettes other than palette 0. --- Machines/Apple/AppleIIgs/Video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Apple/AppleIIgs/Video.cpp b/Machines/Apple/AppleIIgs/Video.cpp index 045f7e11a..d0c659eb0 100644 --- a/Machines/Apple/AppleIIgs/Video.cpp +++ b/Machines/Apple/AppleIIgs/Video.cpp @@ -247,7 +247,7 @@ void VideoBase::output_row(int row, int start, int end) { // I could spread this stuff out to allow for real bandwidth, but it'd likely be // no more accurate, while having less of an obvious I-HACKED-THIS red flag attached. line_control_ = ram_[0x19d00 + row]; - const int palette_base = (line_control_ & 15) * 16 + 0x19e00; + const int palette_base = (line_control_ & 15) * 32 + 0x19e00; for(int c = 0; c < 16; c++) { const int entry = ram_[palette_base + (c << 1)] | (ram_[palette_base + (c << 1) + 1] << 8); palette_[c] = PaletteConvulve(entry);