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

Method LoadCoreSettings

pcsx2/VMManager.cpp:652–668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650}
651
652void VMManager::LoadCoreSettings(SettingsInterface& si)
653{
654 SettingsLoadWrapper slw(si);
655 EmuConfig.LoadSave(slw);
656 Patch::ApplyPatchSettingOverrides();
657
658 // Achievements hardcore mode disallows setting some configuration options.
659 EnforceAchievementsChallengeModeSettings();
660
661 // Remove any user-specified hacks in the config (we don't want stale/conflicting values when it's globally disabled).
662 EmuConfig.GS.MaskUserHacks();
663 EmuConfig.GS.MaskUpscalingHacks();
664
665 // Force MTVU off when playing back GS dumps, it doesn't get used.
666 if (GSDumpReplayer::IsReplayingDump())
667 EmuConfig.Speedhacks.vuThread = false;
668}
669
670void VMManager::LoadInputBindings(SettingsInterface& si, std::unique_lock<std::mutex>& lock)
671{

Callers

nothing calls this directly

Calls 3

MaskUserHacksMethod · 0.80
MaskUpscalingHacksMethod · 0.80
LoadSaveMethod · 0.45

Tested by

no test coverage detected