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

Method GetSourcePath

Sources/Jazz2/ContentResolver.cpp:115–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 11

Main.cppFile · 0.80
RefreshCacheMethod · 0.80
RefreshCacheLevelsMethod · 0.80
InitializeMethod · 0.80
GetAssetFullPathMethod · 0.80
OnShowMethod · 0.80
ExecuteSelectedMethod · 0.80
OnDrawMethod · 0.80
OnExecuteSelectedMethod · 0.80
OnProcessIncludeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected