Changeset 107468 in vbox
- Timestamp:
- Jan 7, 2025 2:44:53 PM (11 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r106967 r107468 1064 1064 int h, shift_control; 1065 1065 /* Check the values before we screw up with a resolution which is too big or small. */ 1066 size_t cb = pThis->vbe_regs[VBE_DISPI_INDEX_XRES];1066 size_t cb; 1067 1067 if (pThis->vbe_regs[VBE_DISPI_INDEX_BPP] == 4) 1068 1068 cb = pThis->vbe_regs[VBE_DISPI_INDEX_XRES] >> 1; … … 2344 2344 break; 2345 2345 default: 2346 case 0:2346 /*case 0: - Superfluous, checked already in the if above */ 2347 2347 AssertFailed(); 2348 2348 return VERR_NOT_IMPLEMENTED; … … 5648 5648 */ 5649 5649 # ifdef VBOX_WITH_VMSVGA 5650 rc = PDMDevHlpMmio2ControlDirtyPageTracking(pDevIns, pThis->hMmio2VRam, 5651 !pThis->svga.fEnabled ||(pThis->svga.fEnabled && pThis->svga.fVRAMTracking)); 5650 rc = PDMDevHlpMmio2ControlDirtyPageTracking(pDevIns, pThis->hMmio2VRam, !pThis->svga.fEnabled || pThis->svga.fVRAMTracking); 5652 5651 # else 5653 5652 rc = PDMDevHlpMmio2ControlDirtyPageTracking(pDevIns, pThis->hMmio2VRam, true /*fEnabled*/); … … 5981 5980 uint32_t u32; 5982 5981 rc = pHlp->pfnSSMGetU32(pSSM, &u32); 5982 AssertRCReturn(rc, rc); 5983 5983 5984 if (u32) 5984 5985 { … … 6855 6856 rc = VINF_SUCCESS; 6856 6857 } 6857 else 6858 rc = VERR_NO_MEMORY; 6858 /* else: Out of memory condition is ignored, see below. */ 6859 6859 } 6860 6860 else
Note:
See TracChangeset
for help on using the changeset viewer.