VirtualBox

Changeset 30595 in vbox for trunk/src/VBox/Devices/Input


Ignore:
Timestamp:
Jul 4, 2010 12:54:05 PM (15 years ago)
Author:
vboxsync
Message:

DevPS2: Only call pfnSetActive if there is a driver attached

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/DevPS2.cpp

    r30416 r30595  
    14871487    kbd_reset(pThis);
    14881488    /* Activate the PS/2 keyboard by default. */
    1489     pThis->Keyboard.pDrv->pfnSetActive(pThis->Keyboard.pDrv, true);
     1489    if (pThis->Keyboard.pDrv)
     1490        pThis->Keyboard.pDrv->pfnSetActive(pThis->Keyboard.pDrv, true);
    14901491}
    14911492
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