mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
* grub-core/loader/multiboot.c (grub_multiboot_set_console): Always use
video if no text is available. Also-By: Vladimir Serbinenko <phcoder@gmail.com>
This commit is contained in:
1 parent
1bd7302506
commit
71764dc8ca
2 files changed
+15
-2
No files matched your search
@@ -216,8 +216,15 @@ grub_multiboot_set_console (int console_type, int accepted_consoles,
|
||||
grub_env_set ("gfxpayload", buf);
|
||||
grub_free (buf);
|
||||
}
|
||||
else
|
||||
grub_env_set ("gfxpayload", "text");
|
||||
else
|
||||
{
|
||||
#if GRUB_MACHINE_HAS_VGA_TEXT
|
||||
grub_env_set ("gfxpayload", "text");
|
||||
#else
|
||||
/* Always use video if no VGA text is available. */
|
||||
grub_env_set ("gfxpayload", "auto");
|
||||
#endif
|
||||
}
|
||||
|
||||
accepts_video = !!(accepted_consoles & GRUB_MULTIBOOT_CONSOLE_FRAMEBUFFER);
|
||||
accepts_ega_text = !!(accepted_consoles & GRUB_MULTIBOOT_CONSOLE_EGA_TEXT);
|
||||
|
||||
Reference in new issue
Block a user