VirtualBox

Changeset 68137 in vbox


Ignore:
Timestamp:
Jul 27, 2017 10:54:43 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117223
Message:

DevHDA: make the SSM revision check more robust if the SVN revision is not available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevHDA.cpp

    r68132 r68137  
    36163616    /*
    36173617     * Load controller-specifc internals.
     3618     * Don't annoy other team mates (forgot this for state v7).
    36183619     */
    3619     if (SSMR3HandleRevision(pSSM) >= 116273) /* Don't annoy other team mates (forgot this for state v7). */
     3620    if (   SSMR3HandleRevision(pSSM) >= 116273
     3621        || SSMR3HandleVersion(pSSM)  >= VBOX_FULL_VERSION_MAKE(5, 2, 0))
    36203622    {
    36213623        rc = SSMR3GetU64(pSSM, &pThis->u64WalClk);
     
    36813683        /*
    36823684         * Load period state.
     3685         * Don't annoy other team mates (forgot this for state v7).
    36833686         */
    36843687        hdaStreamPeriodInit(&pStrm->State.Period,
    36853688                            pStrm->u8SD, pStrm->u16LVI, pStrm->u32CBL, &pStrm->State.strmCfg);
    36863689
    3687         if (SSMR3HandleRevision(pSSM) >= 116273) /* Don't annoy other team mates (forgot this for state v7). */
     3690        if (   SSMR3HandleRevision(pSSM) >= 116273
     3691            || SSMR3HandleVersion(pSSM)  >= VBOX_FULL_VERSION_MAKE(5, 2, 0))
    36883692        {
    36893693            rc = SSMR3GetStructEx(pSSM, &pStrm->State.Period, sizeof(HDASTREAMPERIOD),
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette