mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Restore color palette format if we reset video mode.
This commit is contained in:
parent
7ac3e951e3
commit
421cd2f2fb
1 changed files with 2 additions and 0 deletions
|
|
@ -1470,6 +1470,8 @@ vesa_load_state(video_adapter_t *adp, void *p)
|
|||
(flags & V_INFO_LINEAR) != 0)
|
||||
mode |= 0x4000;
|
||||
(void)vesa_bios_set_mode(mode);
|
||||
if ((vesa_adp_info->v_flags & V_DAC8) != 0)
|
||||
(void)vesa_bios_set_dac(8);
|
||||
(void)(*vidsw[adp->va_index]->set_hw_cursor)(adp, -1, -1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue