VirtualBox

Changeset 23981 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 22, 2009 1:25:42 PM (15 years ago)
Author:
vboxsync
Message:

DevIchAc97: validate config.

File:
1 edited

Legend:

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

    r22793 r23981  
    15881588
    15891589    Assert(iInstance == 0);
     1590
     1591    /*
     1592     * Validations.
     1593     */
     1594    if (!CFGMR3AreValuesValid (pCfgHandle, "\0"))
     1595        return PDMDEV_SET_ERROR (pDevIns, VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES,
     1596                                 N_ ("Invalid configuration for the AC97 device"));
    15901597
    15911598    /*
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