VirtualBox

Changeset 51589 in vbox for trunk/src


Ignore:
Timestamp:
Jun 10, 2014 1:22:15 PM (10 years ago)
Author:
vboxsync
Message:

USB/OHCI: Fix saved state assertion witz emulated USB devices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/DevOHCI.cpp

    r50530 r51589  
    51755175    Rh = *pRh;
    51765176    for (i = 0; i < RT_ELEMENTS(pRh->aPorts); i++)
    5177         pRh->aPorts[i].pDev = NULL;
     5177    {
     5178        if (   pRh->aPorts[i].pDev
     5179            && !VUSBIDevIsEmulated(pRh->aPorts[i].pDev))
     5180            pRh->aPorts[i].pDev = NULL;
     5181    }
    51785182
    51795183    /*
Note: See TracChangeset for help on using the changeset viewer.

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