Skip to content

Commit

Permalink
wswan: Fix background color in "mono" mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
asiekierka committed Feb 9, 2024
1 parent e8852b9 commit c19aedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mednafen/src/wswan/gfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ static void wsScanline(MDFN_Surface* surface)
uint8 b_bg_pal[256];

if(!wsIsColor())
memset(b_bg, wsColors[BGColor&0xF]&0xF, 256);
memset(b_bg, wsColors[BGColor&0x7]&0xF, 256);
else
{
memset(&b_bg[0], BGColor & 0xF, 256);
Expand Down

0 comments on commit c19aedf

Please sign in to comment.