loader: do not update palette in text mode (real fix)

Apparently palette update while in text mode, will cause
some adapters to end up with blank display. Previous update had
condition reversed.
This commit is contained in:
Toomas Soome 2021-01-15 14:58:12 +02:00
parent c66ec88fed
commit 0974bfa3a8

View File

@ -939,7 +939,7 @@ cons_update_mode(bool use_gfx_mode)
gfx_state.tg_fb.fb_mask_green >> goff, goff,
gfx_state.tg_fb.fb_mask_blue >> boff, boff);
if (gfx_state.tg_ctype == CT_INDEXED && !use_gfx_mode)
if (gfx_state.tg_ctype == CT_INDEXED && use_gfx_mode)
vidc_load_palette();
teken_set_winsize(&gfx_state.tg_teken, &gfx_state.tg_tp);