mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 10:10:29 +00:00
simplify track_int13 and some related code, and fix a few bugs in VBE support code.
This commit is contained in:
1 parent
455795862c
commit
65d6a086d0
4 files changed
+45
-54
No files matched your search
+2
-2
@@ -4061,7 +4061,7 @@ testvbe_func (char *arg, int flags)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (get_vbe_mode_info (mode_number | (1 << 14), &mode) != 0x004F
|
||||
if (get_vbe_mode_info (mode_number, &mode) != 0x004F
|
||||
|| (mode.mode_attributes & 0x0091) != 0x0091)
|
||||
{
|
||||
grub_printf (" Mode 0x%x is not supported.\n", mode_number);
|
||||
@@ -4303,7 +4303,7 @@ vbeprobe_func (char *arg, int flags)
|
||||
{
|
||||
struct vbe_mode mode;
|
||||
|
||||
if (get_vbe_mode_info (*mode_list | (1 << 14), &mode) != 0x004F)
|
||||
if (get_vbe_mode_info (*mode_list, &mode) != 0x004F)
|
||||
continue;
|
||||
|
||||
/* Skip this, if this is not supported or linear frame buffer
|
||||
|
||||
Reference in new issue
Block a user