From e35b2e5daa1c1b5610c201b86a9bb0e37ac4c54c Mon Sep 17 00:00:00 2001 From: Megamouse Date: Mon, 29 Apr 2024 21:58:33 +0200 Subject: [PATCH] Qt: allow to batch remove vsh cache --- rpcs3/rpcs3qt/game_list_frame.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rpcs3/rpcs3qt/game_list_frame.cpp b/rpcs3/rpcs3qt/game_list_frame.cpp index 0d2f8c934c..20a9b3c784 100644 --- a/rpcs3/rpcs3qt/game_list_frame.cpp +++ b/rpcs3/rpcs3qt/game_list_frame.cpp @@ -2032,10 +2032,13 @@ void game_list_frame::BatchRemovePPUCaches() } std::set serials; + serials.emplace("vsh"); + for (const auto& game : m_game_data) { serials.emplace(game->info.serial); } + const u32 total = ::size32(serials); if (total == 0) @@ -2086,10 +2089,13 @@ void game_list_frame::BatchRemoveSPUCaches() } std::set serials; + serials.emplace("vsh"); + for (const auto& game : m_game_data) { serials.emplace(game->info.serial); } + const u32 total = ::size32(serials); if (total == 0) @@ -2248,10 +2254,13 @@ void game_list_frame::BatchRemoveShaderCaches() } std::set serials; + serials.emplace("vsh"); + for (const auto& game : m_game_data) { serials.emplace(game->info.serial); } + const u32 total = ::size32(serials); if (total == 0)