Fix Switch startup save path

This commit is contained in:
2026-06-09 01:13:07 +08:00
parent c87b245cea
commit 8bbb847a1b
5 changed files with 83 additions and 12 deletions
@@ -253,6 +253,11 @@ private:
bool running_ = false;
bool paused_ = false;
bool shouldQuit_ = false;
bool sdlInitialized_ = false;
#ifdef __SWITCH__
bool switchPlatformInitialized_ = false;
bool switchRomfsMounted_ = false;
#endif
bool textInputEnabled_ = false;
bool immEnabled_ = false;
int textInputRequestCount_ = 0;
@@ -389,6 +389,7 @@ private:
fs::path toPath(const std::string &path) const;
std::string fromPath(const fs::path &path) const;
std::string resolveFullPath(const std::string &path) const;
bool isDevicePath(const std::string &path) const;
std::string workingDirectory_;
std::string assetRoot_;