mirror of
https://github.com/V2RetroComputing/analog-firmware.git
synced 2025-01-14 08:32:51 +00:00
monochrome bit test fix
Fix for issue: https://github.com/V2RetroComputing/analog/issues/15
This commit is contained in:
parent
8f6ca91059
commit
7c3fa52a3f
@ -103,7 +103,7 @@ static void DELAYED_COPY_CODE(render_dhgr_line)(bool p2, uint line) {
|
|||||||
dots |= (line_mema[i] & 0x7f) << 25;
|
dots |= (line_mema[i] & 0x7f) << 25;
|
||||||
i++;
|
i++;
|
||||||
|
|
||||||
if(soft_switches & SOFTSW_MONOCHROME) {
|
if((soft_switches & SOFTSW_MONOCHROME) || (mono_palette & 0x8)) {
|
||||||
// Consume 8 pixels (32 subpixel bits)
|
// Consume 8 pixels (32 subpixel bits)
|
||||||
for(j = 0; j < 16; j++) {
|
for(j = 0; j < 16; j++) {
|
||||||
pixeldata = ((dots & 1) ? (text_fore) : (text_back));
|
pixeldata = ((dots & 1) ? (text_fore) : (text_back));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user