save mappings after automapping. Otherwise, if we don't exit cleanly, the automappings are lost and not reapplied on the next run
This commit is contained in:
@@ -308,6 +308,7 @@ void ResetGame( bool ReturnToFirstScreen )
|
|||||||
{
|
{
|
||||||
LOG->Info( "Remapping joysticks." );
|
LOG->Info( "Remapping joysticks." );
|
||||||
INPUTMAPPER->AutoMapJoysticksForCurrentGame();
|
INPUTMAPPER->AutoMapJoysticksForCurrentGame();
|
||||||
|
INPUTMAPPER->SaveMappingsToDisk();
|
||||||
}
|
}
|
||||||
|
|
||||||
PREFSMAN->m_sLastSeenInputDevices = sInputDevices;
|
PREFSMAN->m_sLastSeenInputDevices = sInputDevices;
|
||||||
|
|||||||
Reference in New Issue
Block a user