VirtualBox

Changeset 21446 in vbox for trunk/src/VBox/Frontends/VBoxSDL


Ignore:
Timestamp:
Jul 9, 2009 3:09:57 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49854
Message:

API/Machine+SystemProperties: get rid of the tri-state bool controlling hwvirtex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r21029 r21446  
    10731073    unsigned fPATM  = ~0U;
    10741074    unsigned fCSAM  = ~0U;
    1075     TSBool_T fHWVirt = TSBool_Default;
     1075    unsigned fHWVirt = ~0U;
    10761076    uint32_t u32WarpDrive = 0;
    10771077#endif
     
    15871587        else if (   !strcmp(argv[curArg], "--hwvirtex")
    15881588                 || !strcmp(argv[curArg], "-hwvirtex"))
    1589             fHWVirt = TSBool_True;
     1589            fHWVirt = true;
    15901590        else if (   !strcmp(argv[curArg], "--nohwvirtex")
    15911591                 || !strcmp(argv[curArg], "-nohwvirtex"))
    1592             fHWVirt = TSBool_False;
     1592            fHWVirt = false;
    15931593        else if (   !strcmp(argv[curArg], "--warpdrive")
    15941594                 || !strcmp(argv[curArg], "-warpdrive"))
     
    21492149        gMachineDebugger->COMSETTER(CSAMEnabled)(fCSAM);
    21502150    }
    2151     if (fHWVirt != TSBool_Default)
     2151    if (fHWVirt != ~0U)
    21522152    {
    21532153        gMachine->COMSETTER(HWVirtExEnabled)(fHWVirt);
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