From 00e2128fab729e3f6ff2726ea779da65f77b5818 Mon Sep 17 00:00:00 2001 From: crueter Date: Wed, 25 Feb 2026 03:38:13 +0100 Subject: [desktop] Allow deletion of add-ons from the add-on menu (#3626) Adds a location param to the Patch struct which can be used to delete any installed mods at the user's request. You can delete multiple at once too, or just one by right-clicking You are not able to delete game updates, DLC, or SDMC mods. Signed-off-by: crueter Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3626 Reviewed-by: DraVee Reviewed-by: Maufeat --- src/core/file_sys/patch_manager.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/core/file_sys/patch_manager.cpp') diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp index 44aafb6b34..82944ceceb 100644 --- a/src/core/file_sys/patch_manager.cpp +++ b/src/core/file_sys/patch_manager.cpp @@ -876,7 +876,8 @@ std::vector PatchManager::GetPatches(VirtualFile update_raw) const { .type = PatchType::Mod, .program_id = title_id, .title_id = title_id, - .source = PatchSource::Unknown + .source = PatchSource::Unknown, + .location = f->GetFullPath(), }); } @@ -923,7 +924,8 @@ std::vector PatchManager::GetPatches(VirtualFile update_raw) const { .type = PatchType::Mod, .program_id = title_id, .title_id = title_id, - .source = PatchSource::Unknown}); + .source = PatchSource::Unknown, + .location = mod->GetFullPath()}); } } -- cgit v1.2.3