Add check for VbeModeInfo->PhysBasePtr != 0.
Modified: trunk/reactos/drivers/video/miniport/vbe/vbemp.c
_____
Modified: trunk/reactos/drivers/video/miniport/vbe/vbemp.c
--- trunk/reactos/drivers/video/miniport/vbe/vbemp.c 2005-12-13
00:02:07 UTC (rev 20138)
+++ trunk/reactos/drivers/video/miniport/vbe/vbemp.c 2005-12-13
00:17:08 UTC (rev 20139)
@@ -344,7 +344,8 @@
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)
{