Changeset 59262 in vbox
- Timestamp:
- Jan 6, 2016 12:56:24 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchHda.cpp
r59257 r59262 3803 3803 AssertRCBreak(rc); 3804 3804 3805 if (uVersion == HDA_SSM_VERSION_5) 3805 /* Load BDLE states. */ 3806 HDABDLESTATE StateDummy; 3807 PHDABDLESTATE pState; 3808 for (uint32_t a = 0; a < pStrm->State.cBDLE; a++) 3806 3809 { 3807 3810 /* v5 did not save the BDLE state correctly, so skip. */ 3808 rc = SSMR3Skip(pSSM, 0x120 /* sizeof(HDABLDE) in v5 */); 3811 pState = uVersion == HDA_SSM_VERSION_5 3812 ? &StateDummy : &pStrm->State.paBDLE[a].State; 3813 3814 rc = SSMR3GetStructEx(pSSM, pState, sizeof(HDABDLESTATE), 3815 0 /* fFlags */, g_aSSMBDLEStateFields5, NULL); 3809 3816 AssertRCBreak(rc); 3810 }3811 else3812 {3813 /* Load BDLE states. */3814 for (uint32_t a = 0; a < pStrm->State.cBDLE; a++)3815 {3816 rc = SSMR3GetStructEx(pSSM, &pStrm->State.paBDLE[a].State, sizeof(HDABDLESTATE),3817 0 /* fFlags */, g_aSSMBDLEStateFields5, NULL);3818 AssertRCBreak(rc);3819 }3820 3817 } 3821 3818
Note:
See TracChangeset
for help on using the changeset viewer.