| 111 | namespace { |
| 112 | |
| 113 | constexpr 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 |
no outgoing calls
no test coverage detected