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

Method SetDefaultConfiguration

pcsx2/USB/USB.cpp:799–808  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

797}
798
799void USB::SetDefaultConfiguration(SettingsInterface* si)
800{
801 for (u32 port = 0; port < NUM_PORTS; port++)
802 {
803 const std::string section = GetConfigSection(port);
804
805 si->ClearSection(section.c_str());
806 si->SetStringValue(section.c_str(), "Type", "None");
807 }
808}
809
810void USB::CheckForConfigChanges(const Pcsx2Config& old_config)
811{

Callers

nothing calls this directly

Calls 3

ClearSectionMethod · 0.45
c_strMethod · 0.45
SetStringValueMethod · 0.45

Tested by

no test coverage detected