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

Method SetConfigSubType

pcsx2/USB/USB.cpp:664–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662}
663
664void USB::SetConfigSubType(SettingsInterface& si, u32 port, const std::string_view devname, u32 subtype)
665{
666 si.SetUIntValue(GetConfigSection(port).c_str(), fmt::format("{}_subtype", devname).c_str(), subtype);
667}
668
669std::string USB::GetConfigSubKey(const std::string_view device, const std::string_view bind_name)
670{

Callers

nothing calls this directly

Calls 3

formatFunction · 0.50
SetUIntValueMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected