1
0
forked from pool/virtualbox
virtualbox/vbox-VBE_DISPI_INDEX_ENABLE.diff

14 lines
650 B
Diff

Index: VirtualBox-4.1.4_OSE/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp
===================================================================
--- VirtualBox-4.1.4_OSE.orig/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp
+++ VirtualBox-4.1.4_OSE/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp
@@ -174,7 +174,7 @@ RTDECL(bool) VBoxVideoGetModeRegisters(u
uint16_t fFlags;
VBoxVideoCmnPortWriteUshort(VBE_DISPI_IOPORT_INDEX,
- VBE_DISPI_ENABLED);
+ VBE_DISPI_INDEX_ENABLE);
fFlags = VBoxVideoCmnPortReadUshort(VBE_DISPI_IOPORT_DATA);
if (pcWidth)
{