Skip to content

Commit

Permalink
Merge pull request #409 from RetroCogs/fixforissue407
Browse files Browse the repository at this point in the history
MEGA65: Update vic4.c for fix for transparency issue
  • Loading branch information
lgblgblgb authored Aug 21, 2024
2 parents c33bf19 + 1e12961 commit 487f7d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions targets/mega65/vic4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 487f7d2

Please sign in to comment.