| 672 | } |
| 673 | |
| 674 | bool USB::ConfigKeyExists(SettingsInterface& si, u32 port, const char* devname, const char* key) |
| 675 | { |
| 676 | const std::string real_key(fmt::format("{}_{}", devname, key)); |
| 677 | return si.ContainsValue(GetConfigSection(port).c_str(), real_key.c_str()); |
| 678 | } |
| 679 | |
| 680 | bool USB::GetConfigBool(SettingsInterface& si, u32 port, const char* devname, const char* key, bool default_value) |
| 681 | { |
nothing calls this directly
no test coverage detected