From 1e1296154dd782e91c26d37295b5ecfb95eb204d Mon Sep 17 00:00:00 2001 From: RetroCogs <45956643+RetroCogs@users.noreply.github.com> Date: Tue, 20 Aug 2024 22:24:26 -0700 Subject: [PATCH] Update vic4.c --- targets/mega65/vic4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/targets/mega65/vic4.c b/targets/mega65/vic4.c index eb869f39..c6d7e05f 100644 --- a/targets/mega65/vic4.c +++ b/targets/mega65/vic4.c @@ -1439,6 +1439,8 @@ static XEMU_INLINE void vic4_render_char_raster ( void ) char_fetch_offset = -char_fetch_offset; if (SXA_VERTICAL_FLIP(color_data)) enable_bg_paint = 0; + else + enable_bg_paint = 1; if (SXA_ATTR_BOLD(color_data) && SXA_ATTR_REVERSE(color_data) && !REG_VICIII_ATTRIBS) used_palette = altpalette; // use the alternate palette from now in the scanline else