mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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
1 changed files with 7 additions and 0 deletions
|
@ -180,6 +180,13 @@ VBEInitialize(PVOID HwDeviceExtension)
|
|||
ULONG CurrentMode;
|
||||
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
|
||||
* mode memory and calling the video BIOS.
|
||||
|
|
Loading…
Reference in a new issue