MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / resetAllSettings

Function resetAllSettings

TheForceEngine/TFE_Settings/settings.cpp:1792–1797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1790 }
1791
1792 void resetAllSettings()
1793 {
1794 FileUtil::copyFile(s_defaultSettingsPath, s_settingsPath);
1795 bool firstRun = false;
1796 TFE_Settings::init(firstRun);
1797 }
1798}

Callers 1

configSystemFunction · 0.85

Calls 2

initFunction · 0.70
copyFileFunction · 0.50

Tested by

no test coverage detected