VirtualBox

Changeset 60809 in vbox for trunk


Ignore:
Timestamp:
May 3, 2016 6:28:15 PM (9 years ago)
Author:
vboxsync
Message:

Main/Machine: initialize the parallel port addresses even if no OS type is specified, as it doesn't depend on having the information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r60644 r60809  
    355355                mSerialPorts[slot]->i_applyDefaults(aOsType);
    356356
    357             /* Apply parallel port defaults */
    358             for (ULONG slot = 0; slot < RT_ELEMENTS(mParallelPorts); ++slot)
    359                 mParallelPorts[slot]->i_applyDefaults();
    360 
    361357            /* Let the OS type select 64-bit ness. */
    362358            mHWData->mLongMode = aOsType->i_is64Bit()
    363359                               ? settings::Hardware::LongMode_Enabled : settings::Hardware::LongMode_Disabled;
    364360        }
     361
     362        /* Apply parallel port defaults */
     363        for (ULONG slot = 0; slot < RT_ELEMENTS(mParallelPorts); ++slot)
     364            mParallelPorts[slot]->i_applyDefaults();
    365365
    366366        /* At this point the changing of the current state modification
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