VirtualBox

Changeset 8617 in vbox for trunk


Ignore:
Timestamp:
May 6, 2008 10:33:33 AM (17 years ago)
Author:
vboxsync
Message:

Disable graphic splash screen if it doesn't fit into VRAM.

File:
1 edited

Legend:

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

    r8170 r8617  
    40144014                uint16_t        yLogo = LOGO_MAX_HEIGHT - (LOGO_MAX_HEIGHT - pData->cyLogo) / 2;
    40154015
     4016                /* Check VRAM size */
     4017                if (pData->vram_size < LOGO_MAX_SIZE)
     4018                    break;
     4019
    40164020                if (pData->vram_size >= LOGO_MAX_SIZE * 2)
    40174021                    pu8Dst = pData->vram_ptrHC + LOGO_MAX_SIZE;
     
    57035707        }
    57045708    }
     5709
     5710    /*
     5711     * Disable graphic splash screen if it doesn't fit into VRAM.
     5712     */
     5713    if (pData->vram_size < LOGO_MAX_SIZE)
     5714        LogoHdr.fu8FadeIn = LogoHdr.fu8FadeOut = LogoHdr.u16LogoMillies = 0;
    57055715
    57065716    /*
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