mirror of
https://github.com/libretro/ppsspp.git
synced 2025-03-01 05:05:42 +00:00
Start the ctrl latch off all just released.
This commit is contained in:
parent
b93c4f636c
commit
7edb340577
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user