- Fail HwFindAdapter if VESA is disabled
authorCameron Gutman <aicommander@gmail.com>
Fri, 5 Mar 2010 01:09:24 +0000 (01:09 +0000)
committerCameron Gutman <aicommander@gmail.com>
Fri, 5 Mar 2010 01:09:24 +0000 (01:09 +0000)
 - This should allow VGA to take over but it doesn't work due to a bug in videoprt

svn path=/trunk/; revision=45855

reactos/drivers/video/miniport/vbe/vbemp.c

index 55b2bcb..2107e5f 100644 (file)
@@ -71,6 +71,9 @@ VBEFindAdapter(
    IN OUT PVIDEO_PORT_CONFIG_INFO ConfigInfo,
    OUT PUCHAR Again)
 {
+   if (VideoPortIsNoVesa())
+       return ERROR_DEV_NOT_EXIST;
+
    return NO_ERROR;
 }