mirror of
https://github.com/reactos/reactos.git
synced 2024-06-22 05:51:29 +00:00
[VBEMP] Fail HwInitialize (ie IRP_MJ_CREATE) when /NOVESA switch is present
In that case, we want a simple VGA driver to drive the graphic adapter. CORE-17789
This commit is contained in:
parent
ac13f37d0a
commit
3379de3924
|
@ -180,6 +180,13 @@ VBEInitialize(PVOID HwDeviceExtension)
|
||||||
ULONG CurrentMode;
|
ULONG CurrentMode;
|
||||||
PVBE_MODEINFO VbeModeInfo;
|
PVBE_MODEINFO VbeModeInfo;
|
||||||
|
|
||||||
|
if (VideoPortIsNoVesa())
|
||||||
|
{
|
||||||
|
VBEDeviceExtension->Int10Interface.Version = 0;
|
||||||
|
VBEDeviceExtension->Int10Interface.Size = 0;
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get the Int 10 interface that we will use for allocating real
|
* Get the Int 10 interface that we will use for allocating real
|
||||||
* mode memory and calling the video BIOS.
|
* mode memory and calling the video BIOS.
|
||||||
|
|
Loading…
Reference in a new issue