- Timestamp:
- Jun 10, 2009 8:17:58 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r20444 r20458 4762 4762 #endif /* VBOX_WITH_HGSMI */ 4763 4763 4764 if (pThis->fHasDirtyBits && pThis->GCPhysVRAM && pThis->GCPhysVRAM != NIL_RTGCPHYS32) 4765 { 4766 PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pThis->GCPhysVRAM); 4767 pThis->fHasDirtyBits = false; 4768 } 4769 if (pThis->fRemappedVGA) 4770 { 4771 IOMMMIOResetRegion(PDMDevHlpGetVM(pDevIns), 0x000a0000); 4772 pThis->fRemappedVGA = false; 4773 } 4774 4764 4775 rc = vga_update_display(pThis, false); 4765 4776 if (rc != VINF_SUCCESS) … … 4767 4778 PDMCritSectLeave(&pThis->lock); 4768 4779 return rc; 4769 }4770 4771 if (pThis->fHasDirtyBits && pThis->GCPhysVRAM && pThis->GCPhysVRAM != NIL_RTGCPHYS32)4772 {4773 PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pThis->GCPhysVRAM);4774 pThis->fHasDirtyBits = false;4775 }4776 if (pThis->fRemappedVGA)4777 {4778 IOMMMIOResetRegion(PDMDevHlpGetVM(pDevIns), 0x000a0000);4779 pThis->fRemappedVGA = false;4780 4780 } 4781 4781 PDMCritSectLeave(&pThis->lock); … … 4805 4805 AssertRC(rc); 4806 4806 4807 pThis->graphic_mode = -1; /* force full update */4808 4809 rc = vga_update_display(pThis, true);4810 4811 4807 /* The dirty bits array has been just cleared, reset handlers as well. */ 4812 4808 if (pThis->GCPhysVRAM && pThis->GCPhysVRAM != NIL_RTGCPHYS32) … … 4819 4815 pThis->fRemappedVGA = false; 4820 4816 } 4817 4818 pThis->graphic_mode = -1; /* force full update */ 4819 4820 rc = vga_update_display(pThis, true); 4821 4821 4822 PDMCritSectLeave(&pThis->lock); 4822 4823 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.