VirtualBox

Changeset 8008 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Apr 15, 2008 4:02:42 PM (17 years ago)
Author:
vboxsync
Message:

Fixed to be able to disable graphics logo.

File:
1 edited

Legend:

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

    r8007 r8008  
    56345634    rc = CFGMR3QueryU16(pCfgHandle, "LogoTime", &LogoHdr.u16LogoMillies);
    56355635    if (rc == VERR_CFGM_VALUE_NOT_FOUND)
    5636         LogoHdr.u16LogoMillies = 1;
     5636        LogoHdr.u16LogoMillies = 0;
    56375637    else if (VBOX_FAILURE(rc))
    56385638        return PDMDEV_SET_ERROR(pDevIns, rc,
    56395639                                N_("Configuration error: Querying \"LogoTime\" as integer failed"));
     5640
    56405641    /* Delay the logo a little bit */
    5641     LogoHdr.u16LogoMillies = RT_MAX(LogoHdr.u16LogoMillies, LOGO_DELAY_TIME);
     5642    if (LogoHdr.fu8FadeIn && LogoHdr.fu8FadeOut && !LogoHdr.u16LogoMillies)
     5643    {
     5644        LogoHdr.u16LogoMillies = RT_MAX(LogoHdr.u16LogoMillies, LOGO_DELAY_TIME);
     5645    }
    56425646
    56435647    rc = CFGMR3QueryU8(pCfgHandle, "ShowBootMenu", &LogoHdr.fu8ShowBootMenu);
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