mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
patch manager: properly check patch versions
Also abort patch import of lower patch versions
This commit is contained in:
parent
d3c6472c0f
commit
bf978ac8ca
5 changed files with 80 additions and 23 deletions
|
@ -102,10 +102,10 @@ public:
|
|||
static void save_config(const patch_map& patches_map, bool enable_legacy_patches);
|
||||
|
||||
// Save a patch file
|
||||
static bool save_patches(const patch_map& patches, const std::string& path);
|
||||
static bool save_patches(const patch_map& patches, const std::string& path, std::stringstream* log_messages = nullptr);
|
||||
|
||||
// Create or append patches to a file
|
||||
static bool import_patches(const patch_map& patches, const std::string& path);
|
||||
static bool import_patches(const patch_map& patches, const std::string& path, std::stringstream* log_messages = nullptr);
|
||||
|
||||
// Load patch_config.yml
|
||||
static patch_config_map load_config(bool& enable_legacy_patches);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue