summaryrefslogtreecommitdiffstats
path: root/src/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.inc')
-rw-r--r--src/common.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/common.inc b/src/common.inc
index 354ca04..38c93b8 100644
--- a/src/common.inc
+++ b/src/common.inc
@@ -367,6 +367,16 @@
bc.cmd exch .inp_buf get strcat " " strcat pop
+ syslinux {
+ % add video mode if selected
+ video.modes.list xmenu.video .xm_current get get
+ dup 0 gt {
+ "vga=%d " bc.cmd dup length add sprintf
+ } {
+ pop
+ } ifelse
+ } if
+
% remove all but last 'vga' & 'initrd' options
[ "vga" "initrd" ] dup {
{
@@ -1442,4 +1452,3 @@ config.welcome 0 eq or
% check for bi-arch config
check_arch_boot_dir
-