Changeset 82304 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Nov 30, 2019 8:10:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r82303 r82304 3945 3945 || pHlp->pfnSSMHandleVersion(pSSM) >= VBOX_FULL_VERSION_MAKE(5, 2, 0)) 3946 3946 { 3947 rc =pHlp->pfnSSMGetU64(pSSM, &pThis->u64WalClk);3947 pHlp->pfnSSMGetU64(pSSM, &pThis->u64WalClk); 3948 3948 rc = pHlp->pfnSSMGetU8(pSSM, &pThis->u8IRQL); 3949 3949 AssertRCReturn(rc, rc); … … 3956 3956 rc = pHlp->pfnSSMGetU32(pSSM, &cStreams); 3957 3957 AssertRCReturn(rc, rc); 3958 3959 /** @todo r=bird: Sanity? No, insanity. You'll end up failing later on3960 * because you don't load all your state, so what's the point. Just3961 * admit to a problem immediately, there is no hiding it! */3962 3958 if (cStreams > HDA_MAX_STREAMS) 3963 cStreams = HDA_MAX_STREAMS; /* Sanity. */ 3964 3959 return pHlp->pfnSSMSetLoadError(pSSM, VERR_SSM_DATA_UNIT_FORMAT_CHANGED, RT_SRC_POS, 3960 N_("State contains %u streams while %u is the maximum supported"), 3961 cStreams, HDA_MAX_STREAMS); 3965 3962 Log2Func(("cStreams=%RU32\n", cStreams)); 3966 3963
Note:
See TracChangeset
for help on using the changeset viewer.