Start the ctrl latch off all just released.

This commit is contained in:
Unknown W. Brackets 2012-12-02 12:44:33 -08:00
parent b93c4f636c
commit 7edb340577

View File

@ -149,6 +149,9 @@ void sceCtrlInit()
std::lock_guard<std::recursive_mutex> guard(ctrlMutex);
memset(&latch, 0, sizeof(latch));
// Start with everything released.
latch.btnRelease = 0xffffffff;
memset(&ctrl, 0, sizeof(ctrl));
ctrl.analog[0] = 128;
ctrl.analog[1] = 128;