We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5441f0c commit d6e70feCopy full SHA for d6e70fe
src/fspp/fspp.cpp
@@ -19,12 +19,12 @@ namespace {
19
20
[[nodiscard]] std::string getAppInstallDir(AppID appID) {
21
static Steam steam;
22
- return steam.getAppInstallDir(appID);
+ return steam.getAppInstallDir(appID).string();
23
}
24
25
} // namespace
26
27
-std::optional<FileSystem> FileSystem::load(steampp::AppID appID, std::string_view gameID, const FileSystemOptions& options) {
+std::optional<FileSystem> FileSystem::load(AppID appID, std::string_view gameID, const FileSystemOptions& options) {
28
const auto gamePath = ::getAppInstallDir(appID);
29
if (gamePath.empty()) {
30
return std::nullopt;
0 commit comments