mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
Add check for VbeModeInfo->PhysBasePtr != 0.
svn path=/trunk/; revision=20139
This commit is contained in:
parent
e173575b57
commit
780672a901
1 changed files with 2 additions and 1 deletions
|
@ -344,7 +344,8 @@ VBEInitialize(PVOID HwDeviceExtension)
|
|||
VbeModeInfo->XResolution >= 640 &&
|
||||
VbeModeInfo->YResolution >= 480 &&
|
||||
(VbeModeInfo->MemoryModel == VBE_MEMORYMODEL_PACKEDPIXEL ||
|
||||
VbeModeInfo->MemoryModel == VBE_MEMORYMODEL_DIRECTCOLOR))
|
||||
VbeModeInfo->MemoryModel == VBE_MEMORYMODEL_DIRECTCOLOR) &&
|
||||
VbeModeInfo->PhysBasePtr != 0)
|
||||
{
|
||||
if (VbeModeInfo->ModeAttributes & VBE_MODEATTR_LINEAR)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue