Changeset 42416 in vbox
- Timestamp:
- Jul 26, 2012 4:00:23 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 79516
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r42360 r42416 3066 3066 } else if (pThis->gr[5] & 0x10) { 3067 3067 /* odd/even mode (aka text mode mapping) */ 3068 VERIFY_VRAM_WRITE_OFF_RETURN(pThis, GCPhysAddr * 2 + cItems * cbItem- 1);3068 VERIFY_VRAM_WRITE_OFF_RETURN(pThis, (GCPhysAddr + cItems * cbItem) * 4 - 1); 3069 3069 while (cItems-- > 0) 3070 3070 for (i = 0; i < cbItem; i++) … … 3080 3080 } else { 3081 3081 /* standard VGA latched access */ 3082 VERIFY_VRAM_WRITE_OFF_RETURN(pThis, GCPhysAddr + cItems * cbItem- 1);3082 VERIFY_VRAM_WRITE_OFF_RETURN(pThis, (GCPhysAddr + cItems * cbItem) * 4 - 1); 3083 3083 3084 3084 switch(pThis->gr[5] & 3) {
Note:
See TracChangeset
for help on using the changeset viewer.