VirtualBox

Changeset 50214 in vbox


Ignore:
Timestamp:
Jan 24, 2014 8:38:31 AM (11 years ago)
Author:
vboxsync
Message:

dev/vga: reset only on vbe disable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r50145 r50214  
    10371037#else
    10381038        {
    1039             bool fVbeEnableChange = (val & VBE_DISPI_ENABLED) != (pThis->vbe_regs[VBE_DISPI_INDEX_ENABLE] & VBE_DISPI_ENABLED);
     1039            /* reset when VBE is switched off */
     1040            bool fNeedRest = !(val & VBE_DISPI_ENABLED) && (pThis->vbe_regs[VBE_DISPI_INDEX_ENABLE] & VBE_DISPI_ENABLED);
    10401041
    10411042            if ((val & VBE_DISPI_ENABLED) &&
     
    11311132            pThis->pDrv->pfnLFBModeChange(pThis->pDrv, (val & VBE_DISPI_ENABLED) != 0);
    11321133#ifdef VBOX_WITH_HGSMI
    1133             if (fVbeEnableChange)
     1134            if (fNeedRest)
    11341135                VBVAReset(pThis);
    11351136#endif /* VBOX_WITH_HGSMI */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette