Changeset 13429 in vbox
- Timestamp:
- Oct 21, 2008 10:02:48 AM (16 years ago)
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r13424 r13429 349 349 AssertMsg(offVRAM < pThis->vram_size, ("offVRAM = %p, pThis->vram_size = %p\n", offVRAM, pThis->vram_size)); 350 350 ASMBitSet(&pThis->au32DirtyBitmap[0], offVRAM >> PAGE_SHIFT); 351 pThis->fHa veDirtyBits = true;351 pThis->fHasDirtyBits = true; 352 352 } 353 353 … … 4407 4407 return rc; 4408 4408 4409 if (pThis->fHa veDirtyBits && pThis->GCPhysVRAM && pThis->GCPhysVRAM != NIL_RTGCPHYS32)4409 if (pThis->fHasDirtyBits && pThis->GCPhysVRAM && pThis->GCPhysVRAM != NIL_RTGCPHYS32) 4410 4410 { 4411 4411 PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pThis->GCPhysVRAM); 4412 pThis->fHa veDirtyBits = false;4412 pThis->fHasDirtyBits = false; 4413 4413 } 4414 4414 if (pThis->fRemappedVGA) -
trunk/src/VBox/Devices/Graphics/DevVGA.h
r13424 r13429 261 261 bool fR0Enabled; 262 262 /** Flag indicating that there are dirty bits. This is used to optimize the handler resetting. */ 263 bool fHa veDirtyBits;263 bool fHasDirtyBits; 264 264 /** Flag indicating that the VGA memory in the 0xa0000-0xbffff region has been remapped to allow direct access. */ 265 265 bool fRemappedVGA;
Note:
See TracChangeset
for help on using the changeset viewer.