- Timestamp:
- Apr 15, 2008 2:56:54 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 29655
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r7973 r7999 4294 4294 return rc; 4295 4295 4296 if (pData->fHaveDirtyBits )4296 if (pData->fHaveDirtyBits && pData->GCPhysVRAM && pData->GCPhysVRAM != NIL_RTGCPHYS) 4297 4297 { 4298 4298 PPDMDEVINS pDevIns = pData->pDevInsHC; … … 4327 4327 4328 4328 /* The dirty bits array has been just cleared, reset handlers as well. */ 4329 PPDMDEVINS pDevIns = pData->pDevInsHC; 4330 PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pData->GCPhysVRAM); 4329 if (pData->GCPhysVRAM && pData->GCPhysVRAM != NIL_RTGCPHYS) 4330 { 4331 PPDMDEVINS pDevIns = pData->pDevInsHC; 4332 PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pData->GCPhysVRAM); 4333 } 4331 4334 4332 4335 return rc; … … 4934 4937 if ( ( pData->fGCEnabled 4935 4938 || pData->fR0Enabled) 4936 && pData->GCPhysVRAM) 4939 && pData->GCPhysVRAM 4940 && pData->GCPhysVRAM != NIL_RTGCPHYS) 4937 4941 { 4938 4942 int rc = PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pData->GCPhysVRAM);
Note:
See TracChangeset
for help on using the changeset viewer.