| 74 | } |
| 75 | |
| 76 | std::string GetStorageIdName(const NcmStorageId id) { |
| 77 | switch(id) { |
| 78 | case NcmStorageId_SdCard: { |
| 79 | return cfg::Strings.GetString(19); |
| 80 | } |
| 81 | case NcmStorageId_BuiltInUser: { |
| 82 | return cfg::Strings.GetString(28); |
| 83 | } |
| 84 | case NcmStorageId_BuiltInSystem: { |
| 85 | return cfg::Strings.GetString(29); |
| 86 | } |
| 87 | case NcmStorageId_GameCard: { |
| 88 | return cfg::Strings.GetString(190); |
| 89 | } |
| 90 | case NcmStorageId_None: { |
| 91 | return cfg::Strings.GetString(442); |
| 92 | } |
| 93 | default: { |
| 94 | return "Unk" + std::to_string(id); |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | std::string GetApplicationViewFlagName(const u32 flag_bit) { |
| 100 | switch(BIT(flag_bit)) { |
no outgoing calls
no test coverage detected