VirtualBox

Changeset 34141 in vbox


Ignore:
Timestamp:
Nov 17, 2010 5:06:11 PM (14 years ago)
Author:
vboxsync
Message:

2d: solaris burn fix, additianal saved state fix

Location:
trunk/src/VBox
Files:
3 edited

Legend:

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

    r34140 r34141  
    13731373    }
    13741374#else
    1375     for (UINT i = 0; i < pVGAState->cMonitors; ++i)
     1375    for (uint32_t i = 0; i < pVGAState->cMonitors; ++i)
    13761376    {
    13771377        rc = SSMR3PutU32 (pSSM, VBOXVBVASAVEDSTATE_VHWAUNAVAILABLE_MAGIC);
  • trunk/src/VBox/Devices/Graphics/DevVGA_VDMA.cpp

    r33823 r34141  
    101101{
    102102    uint32_t cRefs;
    103     uint32_t rc;
     103    int32_t rc;
    104104    PFNVBOXVDMACRCTL_CALLBACK pfnCompletion;
    105105    void *pvCompletion;
     
    461461
    462462    uint8_t * pvRam = pVdma->pVGAState->vram_ptrR3;
    463     VBOXVDMA_RECTL updateRectl = {0};
     463    VBOXVDMA_RECTL updateRectl = {0, 0, 0, 0};
    464464
    465465    if (pBlt->cDstSubRects)
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp

    r34140 r34141  
    6060
    6161#define VBOXQGL_STATE_NAMEBASE "QGLVHWAData"
    62 #define VBOXQGL_STATE_VERSION 2
     62#define VBOXQGL_STATE_VERSION           3
     63#define VBOXQGL_STATE_VERSION_PIPESAVED 3
    6364
    6465#ifdef DEBUG
     
    47764777    if (RT_SUCCESS(rc))
    47774778    {
    4778         rc = mCmdPipe.loadExec(pSSM, u32Version, mOverlayImage.vramBase());
    4779         AssertRC(rc);
     4779        if (u32Version >= VBOXQGL_STATE_VERSION_PIPESAVED)
     4780        {
     4781            rc = mCmdPipe.loadExec(pSSM, u32Version, mOverlayImage.vramBase());
     4782            AssertRC(rc);
     4783        }
    47804784    }
    47814785    return rc;
     
    51995203    bool b;
    52005204    int rc;
    5201     rc = SSMR3GetU32(pSSM, &u32);
     5205    rc = SSMR3GetU32(pSSM, &u32); AssertRC(rc);
    52025206    if (RT_SUCCESS(rc))
    52035207    {
     
    52655269        }
    52665270    }
    5267     else if (rc == VERR_SSM_LOADED_TOO_MUCH)
    5268     {
    5269         /* this would mean we do not have a cmd pipe data saved.
    5270          * skip the failure.
    5271          * not sure if that's a good idea actually,
    5272          * but this allows keeping the state version unchanged */
    5273         rc = VINF_SUCCESS;
    5274     }
    52755271
    52765272    return rc;
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