MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / GetChipName

Function GetChipName

Source/FamiTrackerDocIOJson.cpp:113–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111namespace {
112
113constexpr std::string_view GetChipName(inst_type_t inst_type) noexcept {
114 switch (inst_type) {
115 case inst_type_t::INST_2A03: return "2A03"sv;
116 case inst_type_t::INST_VRC6: return "VRC6"sv;
117 case inst_type_t::INST_VRC7: return "VRC7"sv;
118 case inst_type_t::INST_FDS: return "FDS"sv;
119 case inst_type_t::INST_N163: return "N163"sv;
120 case inst_type_t::INST_S5B: return "5B"sv;
121 }
122 return ""sv;
123}
124
125} // namespace
126

Callers 2

to_jsonFunction · 0.85
to_json_commonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected