VirtualBox

Changeset 38327 in vbox for trunk


Ignore:
Timestamp:
Aug 5, 2011 2:37:40 PM (13 years ago)
Author:
vboxsync
Message:

EMR3Init: duh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/EM.cpp

    r38326 r38327  
    114114    bool fEnabled;
    115115    int rc = CFGMR3QueryBool(CFGMR3GetRoot(pVM), "RawR3Enabled", &fEnabled);
    116     pVM->fRecompileUser = RT_SUCCESS(rc) ? fEnabled : true;
     116    pVM->fRecompileUser       = RT_SUCCESS(rc) ? !fEnabled : false;
    117117    rc = CFGMR3QueryBool(CFGMR3GetRoot(pVM), "RawR0Enabled", &fEnabled);
    118     pVM->fRecompileSupervisor = RT_SUCCESS(rc) ? fEnabled : true;
     118    pVM->fRecompileSupervisor = RT_SUCCESS(rc) ? !fEnabled : false;
    119119    Log(("EMR3Init: fRecompileUser=%RTbool fRecompileSupervisor=%RTbool\n", pVM->fRecompileUser, pVM->fRecompileSupervisor));
    120120
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