]> xenbits.xensource.com Git - seabios.git/commit
cbvga_setup_modes: use real mode number instead of 0x140
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 30 May 2018 20:52:04 +0000 (22:52 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 22 Jun 2018 05:44:07 +0000 (07:44 +0200)
commit902bacb5f00b72efaf55865c665a4bb4c0f46459
treedc7bd005a7f430dd87c0c31c9ab5e6e352c551c9
parent77404b450d30a1d7860e717e98762b8a4745341d
cbvga_setup_modes: use real mode number instead of 0x140

In case the framebuffer size matches one of the cbvga video modes
just use that mode number instead of 0x140.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
vgasrc/cbvga.c