| 113 | } |
| 114 | |
| 115 | StringView ContentResolver::GetSourcePath() const |
| 116 | { |
| 117 | #if defined(DEATH_TARGET_ANDROID) || defined(DEATH_TARGET_APPLE) || defined(DEATH_TARGET_UNIX) || defined(DEATH_TARGET_WINDOWS_RT) |
| 118 | return _sourcePath; |
| 119 | #elif defined(DEATH_TARGET_SWITCH) |
| 120 | // Switch has some issues with UTF-8 characters, so use "Jazz2" instead |
| 121 | return "sdmc:/Games/Jazz2/Source/"_s; |
| 122 | #elif defined(DEATH_TARGET_WINDOWS) |
| 123 | return "Source\\"_s; |
| 124 | #else |
| 125 | return "Source/"_s; |
| 126 | #endif |
| 127 | } |
| 128 | |
| 129 | bool ContentResolver::IsHeadless() const |
| 130 | { |
no outgoing calls
no test coverage detected