diff --git a/stepmania/src/ScreenAppearanceOptions.cpp b/stepmania/src/ScreenAppearanceOptions.cpp index fe9cc9ed03..8e1f0486fb 100644 --- a/stepmania/src/ScreenAppearanceOptions.cpp +++ b/stepmania/src/ScreenAppearanceOptions.cpp @@ -178,7 +178,7 @@ void ScreenAppearanceOptions::ImportOptions() void ScreenAppearanceOptions::ExportOptions() { - PREFSMAN->SaveGamePrefsToDisk(); + SaveGamePrefsToDisk(); PREFSMAN->SaveGlobalPrefsToDisk(); int iSelectedAnnouncer = m_iSelectedOption[0][AO_ANNOUNCER]; @@ -225,7 +225,7 @@ void ScreenAppearanceOptions::ExportOptions() (int&)PREFSMAN->m_iCourseSortOrder = m_iSelectedOption[0][AO_COURSE_SORT]; PREFSMAN->m_bMoveRandomToEnd = !!m_iSelectedOption[0][AO_COURSE_MOVE_RANDOM]; - PREFSMAN->SaveGamePrefsToDisk(); + SaveGamePrefsToDisk(); PREFSMAN->SaveGlobalPrefsToDisk(); } @@ -236,6 +236,6 @@ void ScreenAppearanceOptions::GoToPrevState() void ScreenAppearanceOptions::GoToNextState() { - PREFSMAN->SaveGamePrefsToDisk(); + SaveGamePrefsToDisk(); GoToPrevState(); } diff --git a/stepmania/src/ScreenSelectGame.cpp b/stepmania/src/ScreenSelectGame.cpp index d8cb1b6cf0..972bb6c1c6 100644 --- a/stepmania/src/ScreenSelectGame.cpp +++ b/stepmania/src/ScreenSelectGame.cpp @@ -80,7 +80,7 @@ void ScreenSelectGame::ExportOptions() LOG->Trace("ScreenSelectGame::ExportOptions()"); INPUTMAPPER->SaveMappingsToDisk(); // save mappings before switching the game - PREFSMAN->SaveGamePrefsToDisk(); + SaveGamePrefsToDisk(); // Switch the current style to the frist style of the selected game int iSelection = m_iSelectedOption[0][SG_GAME]; @@ -90,7 +90,7 @@ void ScreenSelectGame::ExportOptions() Game game = aGames[iSelection]; GAMESTATE->m_CurGame = game; - PREFSMAN->ReadGamePrefsFromDisk(); + ReadGamePrefsFromDisk(); INPUTMAPPER->ReadMappingsFromDisk(); }