mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
VSH: move cache to /cache/vsh/
This commit is contained in:
parent
587d0b2c36
commit
f418ad74f5
2 changed files with 21 additions and 5 deletions
|
@ -3701,10 +3701,17 @@ void Emulator::ConfigurePPUCache(bool with_title_id) const
|
|||
|
||||
_main.cache = rpcs3::utils::get_cache_dir();
|
||||
|
||||
if (with_title_id && !m_title_id.empty() && m_cat != "1P")
|
||||
if (with_title_id)
|
||||
{
|
||||
_main.cache += GetTitleID();
|
||||
_main.cache += '/';
|
||||
if (IsVsh())
|
||||
{
|
||||
_main.cache += "vsh/";
|
||||
}
|
||||
else if (!m_title_id.empty() && m_cat != "1P")
|
||||
{
|
||||
_main.cache += GetTitleID();
|
||||
_main.cache += '/';
|
||||
}
|
||||
}
|
||||
|
||||
fmt::append(_main.cache, "ppu-%s-%s/", fmt::base57(_main.sha1), _main.path.substr(_main.path.find_last_of('/') + 1));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue