sceSaveDataMount2,sceSaveDataUmount some implementation

This commit is contained in:
georgemoralis 2024-05-04 22:08:04 +03:00
parent 2b9b3e76bf
commit 277e16c7ba
7 changed files with 81 additions and 11 deletions

View file

@ -35,6 +35,7 @@ static auto UserPaths = [] {
create_path(PathType::LogDir, user_dir / LOG_DIR);
create_path(PathType::ScreenshotsDir, user_dir / SCREENSHOTS_DIR);
create_path(PathType::ShaderDir, user_dir / SHADER_DIR);
create_path(PathType::SaveDataDir, user_dir / SAVEDATA_DIR);
return paths;
}();

View file

@ -13,7 +13,7 @@ enum class PathType {
LogDir, // Where log files are stored.
ScreenshotsDir, // Where screenshots are stored.
ShaderDir, // Where shaders are stored.
App0, // Where guest application data is stored.
SaveDataDir, // Where guest save data is stored.
};
constexpr auto PORTABLE_DIR = "user";
@ -22,7 +22,7 @@ constexpr auto PORTABLE_DIR = "user";
constexpr auto LOG_DIR = "log";
constexpr auto SCREENSHOTS_DIR = "screenshots";
constexpr auto SHADER_DIR = "shader";
constexpr auto APP0_DIR = "app0";
constexpr auto SAVEDATA_DIR = "savedata";
// Filenames
constexpr auto LOG_FILE = "shad_log.txt";