| 99 | } |
| 100 | |
| 101 | StringView ContentResolver::GetCachePath() const |
| 102 | { |
| 103 | #if defined(DEATH_TARGET_ANDROID) || defined(DEATH_TARGET_APPLE) || defined(DEATH_TARGET_UNIX) || defined(DEATH_TARGET_WINDOWS_RT) |
| 104 | return _cachePath; |
| 105 | #elif defined(DEATH_TARGET_SWITCH) |
| 106 | // Switch has some issues with UTF-8 characters, so use "Jazz2" instead |
| 107 | return "sdmc:/Games/Jazz2/Cache/"_s; |
| 108 | #elif defined(DEATH_TARGET_WINDOWS) |
| 109 | return "Cache\\"_s; |
| 110 | #else |
| 111 | return "Cache/"_s; |
| 112 | #endif |
| 113 | } |
| 114 | |
| 115 | StringView ContentResolver::GetSourcePath() const |
| 116 | { |
no outgoing calls
no test coverage detected