vl.c: default to std if cirrus is not available
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
879049a397
commit
3605ded557
8
vl.c
8
vl.c
|
@ -3617,8 +3617,12 @@ int main(int argc, char **argv, char **envp)
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
||||||
/* If no default VGA is requested, the default is "none". */
|
/* If no default VGA is requested, the default is "none". */
|
||||||
if (default_vga && cirrus_vga_available()) {
|
if (default_vga) {
|
||||||
vga_model = "cirrus";
|
if (cirrus_vga_available()) {
|
||||||
|
vga_model = "cirrus";
|
||||||
|
} else if (vga_available()) {
|
||||||
|
vga_model = "std";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
select_vgahw(vga_model);
|
select_vgahw(vga_model);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue