MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / setDefaults

Method setDefaults

src/Settings.cpp:23–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void Settings::setDefaults()
24{
25 mBoolMap.clear();
26 mIntMap.clear();
27
28 mBoolMap["PARSEGAMELISTONLY"] = false;
29 mBoolMap["IGNOREGAMELIST"] = false;
30 mBoolMap["DRAWFRAMERATE"] = false;
31 mBoolMap["DONTSHOWEXIT"] = false;
32 mBoolMap["DEBUG"] = false;
33 mBoolMap["WINDOWED"] = false;
34 mBoolMap["DISABLESOUNDS"] = false;
35
36 mIntMap["DIMTIME"] = 30*1000;
37
38 mIntMap["GameListSortIndex"] = 0;
39}
40
41template <typename K, typename V>
42void saveMap(pugi::xml_document& doc, std::map<K, V>& map, const char* type)

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected