mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
Qt: allow to batch remove vsh cache
This commit is contained in:
parent
f418ad74f5
commit
e35b2e5daa
1 changed files with 9 additions and 0 deletions
|
@ -2032,10 +2032,13 @@ void game_list_frame::BatchRemovePPUCaches()
|
||||||
}
|
}
|
||||||
|
|
||||||
std::set<std::string> serials;
|
std::set<std::string> serials;
|
||||||
|
serials.emplace("vsh");
|
||||||
|
|
||||||
for (const auto& game : m_game_data)
|
for (const auto& game : m_game_data)
|
||||||
{
|
{
|
||||||
serials.emplace(game->info.serial);
|
serials.emplace(game->info.serial);
|
||||||
}
|
}
|
||||||
|
|
||||||
const u32 total = ::size32(serials);
|
const u32 total = ::size32(serials);
|
||||||
|
|
||||||
if (total == 0)
|
if (total == 0)
|
||||||
|
@ -2086,10 +2089,13 @@ void game_list_frame::BatchRemoveSPUCaches()
|
||||||
}
|
}
|
||||||
|
|
||||||
std::set<std::string> serials;
|
std::set<std::string> serials;
|
||||||
|
serials.emplace("vsh");
|
||||||
|
|
||||||
for (const auto& game : m_game_data)
|
for (const auto& game : m_game_data)
|
||||||
{
|
{
|
||||||
serials.emplace(game->info.serial);
|
serials.emplace(game->info.serial);
|
||||||
}
|
}
|
||||||
|
|
||||||
const u32 total = ::size32(serials);
|
const u32 total = ::size32(serials);
|
||||||
|
|
||||||
if (total == 0)
|
if (total == 0)
|
||||||
|
@ -2248,10 +2254,13 @@ void game_list_frame::BatchRemoveShaderCaches()
|
||||||
}
|
}
|
||||||
|
|
||||||
std::set<std::string> serials;
|
std::set<std::string> serials;
|
||||||
|
serials.emplace("vsh");
|
||||||
|
|
||||||
for (const auto& game : m_game_data)
|
for (const auto& game : m_game_data)
|
||||||
{
|
{
|
||||||
serials.emplace(game->info.serial);
|
serials.emplace(game->info.serial);
|
||||||
}
|
}
|
||||||
|
|
||||||
const u32 total = ::size32(serials);
|
const u32 total = ::size32(serials);
|
||||||
|
|
||||||
if (total == 0)
|
if (total == 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue