VirtualBox

Ignore:
Timestamp:
Nov 13, 2013 2:11:16 PM (11 years ago)
Author:
vboxsync
Message:

DevPS2: Release keys after restoring saved state, not while loading it.

File:
1 edited

Legend:

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

    r49384 r49469  
    14341434            pThis->abDepressedKeys[u8] = 1;
    14351435        }
    1436         ps2kReleaseKeys(pThis);
    14371436    }
    14381437
     
    14481447
    14491448    return rc;
     1449}
     1450
     1451int PS2KLoadDone(PPS2K pThis, PSSMHANDLE pSSM)
     1452{
     1453    /* This *must* be done after the inital load because it may trigger
     1454     * interrupts and change the interrupt controller state.
     1455     */
     1456    ps2kReleaseKeys(pThis);
     1457    return VINF_SUCCESS;
    14501458}
    14511459
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