Patchs menu and fixes

adds the possibility to download Patches, it does not modify the memory yet.
and some other fixes
This commit is contained in:
DanielSvoboda
2024-08-22 14:27:38 -03:00
parent 0e4888723e
commit 957d3e38df
4 changed files with 497 additions and 72 deletions

View File

@@ -75,6 +75,7 @@ static auto UserPaths = [] {
create_path(PathType::DownloadDir, user_dir / DOWNLOAD_DIR);
create_path(PathType::CapturesDir, user_dir / CAPTURES_DIR);
create_path(PathType::CheatsDir, user_dir / CHEATS_DIR);
create_path(PathType::PatchesDir, user_dir / PATCHES_DIR);
return paths;
}();

View File

@@ -20,7 +20,8 @@ enum class PathType {
SysModuleDir, // Where system modules are stored.
DownloadDir, // Where downloads/temp files are stored.
CapturesDir, // Where rdoc captures are stored.
CheatsDir, // Where cheats and patches are stored.
CheatsDir, // Where cheats are stored.
PatchesDir, // Where patches are stored.
};
constexpr auto PORTABLE_DIR = "user";
@@ -37,6 +38,7 @@ constexpr auto SYSMODULES_DIR = "sys_modules";
constexpr auto DOWNLOAD_DIR = "download";
constexpr auto CAPTURES_DIR = "captures";
constexpr auto CHEATS_DIR = "cheats";
constexpr auto PATCHES_DIR = "patches";
// Filenames
constexpr auto LOG_FILE = "shad_log.txt";