diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-05-28 19:17:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-28 19:17:33 +0200 |
commit | 18595738fd79ccf8572ed160c6c0d7681167364e (patch) | |
tree | cfe5e0fa637a01e31b78b663761cc915513cf42b /src/yuzu/game_list.cpp | |
parent | Merge pull request #10469 from Kelebek1/bc_state (diff) | |
parent | qt: add menu item to remove cache storage (diff) | |
download | yuzu-18595738fd79ccf8572ed160c6c0d7681167364e.tar yuzu-18595738fd79ccf8572ed160c6c0d7681167364e.tar.gz yuzu-18595738fd79ccf8572ed160c6c0d7681167364e.tar.bz2 yuzu-18595738fd79ccf8572ed160c6c0d7681167364e.tar.lz yuzu-18595738fd79ccf8572ed160c6c0d7681167364e.tar.xz yuzu-18595738fd79ccf8572ed160c6c0d7681167364e.tar.zst yuzu-18595738fd79ccf8572ed160c6c0d7681167364e.zip |
Diffstat (limited to 'src/yuzu/game_list.cpp')
-rw-r--r-- | src/yuzu/game_list.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index c21828b1d..465084fea 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp @@ -544,6 +544,7 @@ void GameList::AddGamePopup(QMenu& context_menu, u64 program_id, const std::stri QAction* remove_update = remove_menu->addAction(tr("Remove Installed Update")); QAction* remove_dlc = remove_menu->addAction(tr("Remove All Installed DLC")); QAction* remove_custom_config = remove_menu->addAction(tr("Remove Custom Configuration")); + QAction* remove_cache_storage = remove_menu->addAction(tr("Remove Cache Storage")); QAction* remove_gl_shader_cache = remove_menu->addAction(tr("Remove OpenGL Pipeline Cache")); QAction* remove_vk_shader_cache = remove_menu->addAction(tr("Remove Vulkan Pipeline Cache")); remove_menu->addSeparator(); @@ -614,6 +615,9 @@ void GameList::AddGamePopup(QMenu& context_menu, u64 program_id, const std::stri connect(remove_custom_config, &QAction::triggered, [this, program_id, path]() { emit RemoveFileRequested(program_id, GameListRemoveTarget::CustomConfiguration, path); }); + connect(remove_cache_storage, &QAction::triggered, [this, program_id, path] { + emit RemoveFileRequested(program_id, GameListRemoveTarget::CacheStorage, path); + }); connect(dump_romfs, &QAction::triggered, [this, program_id, path]() { emit DumpRomFSRequested(program_id, path, DumpRomFSTarget::Normal); }); |