From f10a498cc2b3eb5e3bfc9379d03fc40e04c2a05b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 8 Mar 2005 10:06:10 +0000 Subject: xbox support (by Stew) --- perl-install/Xconfig/resolution_and_depth.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm index 48d74e338..58477499f 100644 --- a/perl-install/Xconfig/resolution_and_depth.pm +++ b/perl-install/Xconfig/resolution_and_depth.pm @@ -45,8 +45,10 @@ sub size2default_resolution { my ($size) = @_; #- size in inch if (arch() =~ /ppc/) { - require detect_devices; + require detect_devices; return "1024x768" if detect_devices::get_mac_model() =~ /^PowerBook|^iMac/; + } elsif (is_xbox()) { + return "640x480"; } my %monitorSize2resolution = ( -- cgit v1.2.1