Changeset 56944 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jul 15, 2015 6:25:42 PM (10 years ago)
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp
r56593 r56944 989 989 || pThis->svga.uBpp == 0) 990 990 { 991 /* Invalid mode change . */991 /* Invalid mode change - BB does this early in the boot up. */ 992 992 Log(("vmsvgaChangeMode: BOGUS sEnable LFB mode and resize to (%d,%d) bpp=%d\n", pThis->svga.uWidth, pThis->svga.uHeight, pThis->svga.uBpp)); 993 993 return VINF_SUCCESS; … … 3487 3487 if (pThis->svga.uHeight != VMSVGA_VAL_UNINITIALIZED) 3488 3488 { 3489 #ifndef DEBUG_bird /* BB-10.3.1 triggers this as it initializes everything to zero. Better just ignore it. */ 3489 3490 Assert(pThis->svga.cbScanline); 3491 #endif 3490 3492 /* Hardware enabled; return real framebuffer size .*/ 3491 3493 cbFrameBuffer = (uint32_t)pThis->svga.uHeight * pThis->svga.cbScanline; -
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r56632 r56944 2216 2216 */ 2217 2217 static int vmsvga_draw_graphic(PVGASTATE pThis, bool full_update, bool fFailOnResize, bool reset_dirty, 2218 PDMIDISPLAYCONNECTOR *pDrv)2218 PDMIDISPLAYCONNECTOR *pDrv) 2219 2219 { 2220 2220 int y, page_min, page_max, linesize, y_start; … … 2226 2226 2227 2227 if ( pThis->svga.uWidth == VMSVGA_VAL_UNINITIALIZED 2228 || pThis->svga.uWidth == 0 2228 2229 || pThis->svga.uHeight == VMSVGA_VAL_UNINITIALIZED 2229 || pThis->svga.uBpp == VMSVGA_VAL_UNINITIALIZED) 2230 || pThis->svga.uHeight == 0 2231 || pThis->svga.uBpp == VMSVGA_VAL_UNINITIALIZED 2232 || pThis->svga.uBpp == 0) 2230 2233 { 2231 2234 /* Intermediate state; skip redraws. */ … … 6933 6936 */ 6934 6937 rc = PDMDevHlpDriverAttach(pDevIns, PDM_STATUS_LUN, &pThis->IBase, &pBase, "Status Port"); 6935 AssertRC(rc);6936 6938 if (RT_SUCCESS(rc)) 6937 6939 {
Note:
See TracChangeset
for help on using the changeset viewer.