From 754e840e31cb3552963c182eeb2e229fc70bbb4a Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 10 May 2005 08:51:21 +0000 Subject: really get default vga mode --- perl-install/bootsplash.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/bootsplash.pm') diff --git a/perl-install/bootsplash.pm b/perl-install/bootsplash.pm index 3b46b4a66..46c84c72e 100644 --- a/perl-install/bootsplash.pm +++ b/perl-install/bootsplash.pm @@ -18,7 +18,8 @@ our @resolutions = uniq(map { "$_->{X}x$_->{Y}" } Xconfig::resolution_and_depth: sub get_framebuffer_resolution { require bootloader; - my $bootloader = bootloader::read(); + require fsedit; + my $bootloader = bootloader::read(fsedit::get_hds()); my $x_res = Xconfig::resolution_and_depth::from_bios($bootloader->{default_vga}); $x_res ? ($x_res->{X} . 'x' . $x_res->{Y}, 1) : -- cgit v1.2.1