From 114a43a6624755aa6d24967ed780698fdf947ca0 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 24 Aug 2018 21:58:43 -0400 Subject: [PATCH] Corrects improper indexing for byte shift. --- Machines/AppleII/Video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/AppleII/Video.cpp b/Machines/AppleII/Video.cpp index 63e87cc29..9cad6039f 100644 --- a/Machines/AppleII/Video.cpp +++ b/Machines/AppleII/Video.cpp @@ -258,7 +258,7 @@ void VideoBase::output_high_resolution(uint8_t *target, uint8_t *source, size_t for(size_t c = 0; c < length; ++c) { // High resolution graphics shift out LSB to MSB, optionally with a delay of half a pixel. // If there is a delay, the previous output level is held to bridge the gap. - if(base_stream_[c] & 0x80) { + if(source[c] & 0x80) { target[0] = graphics_carry_; target[1] = target[2] = source[c] & 0x01; target[3] = target[4] = source[c] & 0x02;