MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / Pcsx2Config

Method Pcsx2Config

pcsx2/Pcsx2Config.cpp:1942–1975  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1940}
1941
1942Pcsx2Config::Pcsx2Config()
1943{
1944 bitset = 0;
1945 // Set defaults for fresh installs / reset settings
1946 EnablePatches = true;
1947 EnableFastBoot = true;
1948 EnableRecordingTools = true;
1949 EnableGameFixes = true;
1950 InhibitScreensaver = true;
1951 UseSavestateSelector = true;
1952 BackupSavestate = true;
1953 WarnAboutUnsafeSettings = true;
1954 EnableDiscordPresence = false;
1955 ManuallySetRealTimeClock = false;
1956 UseSystemLocaleFormat = false;
1957
1958 // To be moved to FileMemoryCard pluign (someday)
1959 for (uint slot = 0; slot < 8; ++slot)
1960 {
1961 Mcd[slot].Enabled = !FileMcd_IsMultitapSlot(slot); // enables main 2 slots
1962 Mcd[slot].Filename = FileMcd_GetDefaultName(slot);
1963 // Folder memory card is autodetected later.
1964 Mcd[slot].Type = MemoryCardType::File;
1965 }
1966
1967 GzipIsoIndexTemplate = "$(f).pindex.tmp";
1968 PINESlot = 28011;
1969 RtcYear = 0;
1970 RtcMonth = 1;
1971 RtcDay = 1;
1972 RtcHour = 0;
1973 RtcMinute = 0;
1974 RtcSecond = 0;
1975}
1976
1977void Pcsx2Config::LoadSaveCore(SettingsWrapper& wrap)
1978{

Callers

nothing calls this directly

Calls 2

FileMcd_IsMultitapSlotFunction · 0.85
FileMcd_GetDefaultNameFunction · 0.85

Tested by

no test coverage detected