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

Method GetConfigSubType

pcsx2/USB/USB.cpp:659–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

657}
658
659u32 USB::GetConfigSubType(const SettingsInterface& si, u32 port, const std::string_view devname)
660{
661 return si.GetUIntValue(GetConfigSection(port).c_str(), fmt::format("{}_subtype", devname).c_str(), 0u);
662}
663
664void USB::SetConfigSubType(SettingsInterface& si, u32 port, const std::string_view devname, u32 subtype)
665{

Callers

nothing calls this directly

Calls 3

formatFunction · 0.50
GetUIntValueMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected