Skip to content

Commit

Permalink
Target lm80c: increased histeresys time.
Browse files Browse the repository at this point in the history
  • Loading branch information
spotlessmind1975 committed Jan 2, 2021
1 parent 16da14a commit 9e9e2bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/midres_vdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,8 @@ void mr_set_background_color_hd(unsigned char _color) {
#else
unsigned char i;
for (i = 0; i < 32; ++i) {
mr_vdp_fill8(( mr_vdp_get(0x2000 + i) & 0xf0 ) | ( _color & 0x0f ), 0x2000 + i, 1);
unsigned char v = mr_vdp_get(0x2000 + i) & 0xf0;
mr_vdp_fill8(( v ) | ( _color & 0x0f ), 0x2000 + i, 1);
}
#endif
}
Expand Down

0 comments on commit 9e9e2bb

Please sign in to comment.