aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/vesa/initvesa.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-12-10 14:28:53 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-12-10 14:28:53 -0800
commit504383a4f0194c8e26e0db66171ca702452f27be (patch)
tree11c240fe9ad2566792b75caf07cb8a9dd0b95c3d /com32/lib/sys/vesa/initvesa.c
parentebde32062eb97d6315b0a0d850b8054cf4dfdfca (diff)
downloadsyslinux-504383a4f0194c8e26e0db66171ca702452f27be.tar.gz
syslinux-504383a4f0194c8e26e0db66171ca702452f27be.tar.xz
syslinux-504383a4f0194c8e26e0db66171ca702452f27be.zip
Fix handling of VESA modes with noncontiguous memory buffers
Handle VESA modes with noncontiguous memory buffers. In particular, this applies to Qemu/KVM in Cirrus emulation mode.
Diffstat (limited to 'com32/lib/sys/vesa/initvesa.c')
-rw-r--r--com32/lib/sys/vesa/initvesa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/lib/sys/vesa/initvesa.c b/com32/lib/sys/vesa/initvesa.c
index c70f1cdb..c3bf175f 100644
--- a/com32/lib/sys/vesa/initvesa.c
+++ b/com32/lib/sys/vesa/initvesa.c
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------- *
*
- * Copyright 1999-2006 H. Peter Anvin - All Rights Reserved
+ * Copyright 1999-2007 H. Peter Anvin - All Rights Reserved
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
@@ -163,7 +163,7 @@ static int vesacon_set_mode(void)
if ( (mi->mode_attr & 0x009b) != 0x009b )
continue;
- /* Must be 640x480, 32 bpp */
+ /* Must be 640x480 */
if ( mi->h_res != VIDEO_X_SIZE || mi->v_res != VIDEO_Y_SIZE )
continue;