MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / GetCachePath

Method GetCachePath

Sources/Jazz2/ContentResolver.cpp:101–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 11

OnPreInitializeMethod · 0.80
OnAfterInitializeMethod · 0.80
RefreshCacheMethod · 0.80
RefreshCacheLevelsMethod · 0.80
OnOverrideContentPathMethod · 0.80
GetAssetFullPathMethod · 0.80
LanguageSelectSectionMethod · 0.80
EpisodeSelectSectionMethod · 0.80
AddCustomLevelsMethod · 0.80
AboutSectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected