From 958642a3b82cf68aa055eec225c3bab2ee1ca9b0 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 24 Apr 2005 02:06:26 +0000 Subject: [PATCH] save mappings after automapping. Otherwise, if we don't exit cleanly, the automappings are lost and not reapplied on the next run --- stepmania/src/StepMania.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index efbc38d963..82a0c39c94 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -308,6 +308,7 @@ void ResetGame( bool ReturnToFirstScreen ) { LOG->Info( "Remapping joysticks." ); INPUTMAPPER->AutoMapJoysticksForCurrentGame(); + INPUTMAPPER->SaveMappingsToDisk(); } PREFSMAN->m_sLastSeenInputDevices = sInputDevices;