mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Clear state in joypad_destroy
This commit is contained in:
parent
b48b751a3c
commit
71fb5ac941
@ -153,6 +153,14 @@ static void android_joypad_destroy(void)
|
||||
for (j = 0; j < MAX_AXIS; j++)
|
||||
android_app->analog_state[i][j] = 0;
|
||||
}
|
||||
|
||||
for (i = 0; i < MAX_USERS; i++)
|
||||
{
|
||||
android_app->rumble_last_strength_strong[i] = 0;
|
||||
android_app->rumble_last_strength_weak [i] = 0;
|
||||
android_app->rumble_last_strength [i] = 0;
|
||||
android_app->id [i] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
input_device_driver_t android_joypad = {
|
||||
|
Loading…
Reference in New Issue
Block a user