mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
Fix ctrl reinit problem.
This commit is contained in:
1 parent
d1d9fb5bbf
commit
8e412234c9
1 file changed
+1
@@ -312,6 +312,7 @@ void __CtrlInit()
|
||||
|
||||
memset(&ctrlCurrent, 0, sizeof(ctrlCurrent));
|
||||
memset(ctrlCurrent.analog, CTRL_ANALOG_CENTER, sizeof(ctrlCurrent.analog));
|
||||
analogEnabled = false;
|
||||
|
||||
for (u32 i = 0; i < NUM_CTRL_BUFFERS; i++)
|
||||
memcpy(&ctrlBufs[i], &ctrlCurrent, sizeof(_ctrl_data));
|
||||
|
||||
Reference in new issue
Block a user