mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
patch manager: Add patch removal to context menu
Also avoid saving empty patch maps
This commit is contained in:
parent
c4fe418f66
commit
cd4ed11700
3 changed files with 73 additions and 5 deletions
|
@ -74,6 +74,9 @@ public:
|
|||
// Returns the directory in which patch_config.yml is located
|
||||
static std::string get_patch_config_path();
|
||||
|
||||
// Returns the filepath for the imported_patch.yml
|
||||
static std::string get_imported_patch_path();
|
||||
|
||||
// Load from file and append to specified patches map
|
||||
// Example entry:
|
||||
//
|
||||
|
@ -108,6 +111,9 @@ public:
|
|||
// Create or append patches to a file
|
||||
static bool import_patches(const patch_map& patches, const std::string& path, std::stringstream* log_messages = nullptr);
|
||||
|
||||
// Remove a patch from a file
|
||||
static bool remove_patch(const patch_info& info);
|
||||
|
||||
// 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