Changeset 34141 in vbox
- Timestamp:
- Nov 17, 2010 5:06:11 PM (14 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r34140 r34141 1373 1373 } 1374 1374 #else 1375 for ( UINTi = 0; i < pVGAState->cMonitors; ++i)1375 for (uint32_t i = 0; i < pVGAState->cMonitors; ++i) 1376 1376 { 1377 1377 rc = SSMR3PutU32 (pSSM, VBOXVBVASAVEDSTATE_VHWAUNAVAILABLE_MAGIC); -
trunk/src/VBox/Devices/Graphics/DevVGA_VDMA.cpp
r33823 r34141 101 101 { 102 102 uint32_t cRefs; 103 uint32_t rc;103 int32_t rc; 104 104 PFNVBOXVDMACRCTL_CALLBACK pfnCompletion; 105 105 void *pvCompletion; … … 461 461 462 462 uint8_t * pvRam = pVdma->pVGAState->vram_ptrR3; 463 VBOXVDMA_RECTL updateRectl = {0 };463 VBOXVDMA_RECTL updateRectl = {0, 0, 0, 0}; 464 464 465 465 if (pBlt->cDstSubRects) -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp
r34140 r34141 60 60 61 61 #define VBOXQGL_STATE_NAMEBASE "QGLVHWAData" 62 #define VBOXQGL_STATE_VERSION 2 62 #define VBOXQGL_STATE_VERSION 3 63 #define VBOXQGL_STATE_VERSION_PIPESAVED 3 63 64 64 65 #ifdef DEBUG … … 4776 4777 if (RT_SUCCESS(rc)) 4777 4778 { 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 } 4780 4784 } 4781 4785 return rc; … … 5199 5203 bool b; 5200 5204 int rc; 5201 rc = SSMR3GetU32(pSSM, &u32); 5205 rc = SSMR3GetU32(pSSM, &u32); AssertRC(rc); 5202 5206 if (RT_SUCCESS(rc)) 5203 5207 { … … 5265 5269 } 5266 5270 } 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 }5275 5271 5276 5272 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.