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:
parent
c66ec88fed
commit
0974bfa3a8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user