Changeset 56428 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Jun 15, 2015 11:19:08 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 101030
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VBoxSCSI.cpp
r56426 r56428 501 501 SSMR3PutU8 (pSSM, pVBoxSCSI->enmState); 502 502 503 /*504 * Old saved states only save the size of the buffer left to read/write.505 * To avoid changing the saved state version we can just calculate the original506 * buffer size from the offset and remaining size.507 */508 pVBoxSCSI->cbBuf = pVBoxSCSI->cbBufLeft + pVBoxSCSI->iBuf;509 510 503 if (pVBoxSCSI->cbBuf) 511 504 SSMR3PutMem(pSSM, pVBoxSCSI->pbBuf, pVBoxSCSI->cbBuf);
Note:
See TracChangeset
for help on using the changeset viewer.