Changeset 26443 in vbox for trunk/src/VBox/Main/DisplayImpl.cpp
- Timestamp:
- Feb 11, 2010 4:42:07 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57585
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DisplayImpl.cpp
r26426 r26443 454 454 * 455 455 * Each block is: 456 * uint32_t cbBlock; size of the block in bytes including 'cbBlock' and 'typeOfBlock' fields.457 * uint32_t typeOfBlock; 0 - 32bpp RGB bitmap, 1 - PNG, ignored if no block data.456 * uint32_t cbBlock; if 0 - no 'block data'. 457 * uint32_t typeOfBlock; 0 - 32bpp RGB bitmap, 1 - PNG, ignored if 'cbBlock' is 0. 458 458 * [block data] 459 459 * … … 517 517 LogFlowFunc(("[%d] type %d, size %d bytes\n", i, typeOfBlock, cbBlock)); 518 518 519 /* Note: displaySSMSaveScreenshot writes size of a block = 8 and 520 * do not write any data if the image size was 0. 521 * @todo Fix and increase saved state version. 522 */ 519 523 if (cbBlock > 2 * sizeof (uint32_t)) 520 524 { 521 rc = SSMR3Skip(pSSM, cbBlock - 2 * sizeof (uint32_t));525 rc = SSMR3Skip(pSSM, cbBlock); 522 526 AssertRCBreak(rc); 523 527 }
Note:
See TracChangeset
for help on using the changeset viewer.