mirror of
https://github.com/reactos/reactos.git
synced 2024-12-03 00:13:32 +08: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;
|
||||
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 New Issue
Block a user