[ros-diffs] [cgutman] 47109: [VIDEOPRT] - Also check for the BASEVIDEO option set and return true in that case also - Fixes a bug with boot time (F8) options on my WC

cgutman at svn.reactos.org cgutman at svn.reactos.org
Thu May 6 01:16:17 CEST 2010


Author: cgutman
Date: Thu May  6 01:16:17 2010
New Revision: 47109

URL: http://svn.reactos.org/svn/reactos?rev=47109&view=rev
Log:
[VIDEOPRT]
- Also check for the BASEVIDEO option set and return true in that case also
- Fixes a bug with boot time (F8) options on my WC

Modified:
    trunk/reactos/drivers/video/videoprt/videoprt.c

Modified: trunk/reactos/drivers/video/videoprt/videoprt.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/videoprt/videoprt.c?rev=47109&r1=47108&r2=47109&view=diff
==============================================================================
--- trunk/reactos/drivers/video/videoprt/videoprt.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/videoprt/videoprt.c [iso-8859-1] Thu May  6 01:16:17 2010
@@ -1523,8 +1523,9 @@
        return FALSE;
    }
 
-   /* Check if NOVESA is present in the start options */
-   if (wcsstr((PWCHAR)KeyInfo->Data, L"NOVESA"))
+   /* Check if NOVESA or BASEVIDEO is present in the start options */
+   if (wcsstr((PWCHAR)KeyInfo->Data, L"NOVESA") ||
+       wcsstr((PWCHAR)KeyInfo->Data, L"BASEVIDEO"))
    {
        VideoPortDebugPrint(Info, "VESA mode disabled\n");
        ExFreePool(KeyInfo);




More information about the Ros-diffs mailing list