| 2196 | } |
| 2197 | |
| 2198 | std::string EmuFolders::GetPortableModePath() |
| 2199 | { |
| 2200 | const auto portable_txt_path = Path::Combine(AppRoot, "portable.txt"); |
| 2201 | const auto portable_path = FileSystem::ReadFileToString(portable_txt_path.c_str()).value_or(""); |
| 2202 | const auto trimmed_path = StringUtil::StripWhitespace(portable_path); |
| 2203 | return std::string(trimmed_path); |
| 2204 | } |
| 2205 | |
| 2206 | bool EmuFolders::SetDataDirectory(Error* error) |
| 2207 | { |
nothing calls this directly
no test coverage detected