提交 3605ded5 编写于 作者: A Aurelien Jarno

vl.c: default to std if cirrus is not available

Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 879049a3
......@@ -3617,8 +3617,12 @@ int main(int argc, char **argv, char **envp)
exit(1);
/* If no default VGA is requested, the default is "none". */
if (default_vga && cirrus_vga_available()) {
vga_model = "cirrus";
if (default_vga) {
if (cirrus_vga_available()) {
vga_model = "cirrus";
} else if (vga_available()) {
vga_model = "std";
}
}
select_vgahw(vga_model);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册