mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
Fixes for booting PS1 games
This commit is contained in:
parent
8b449ce76c
commit
6229b3ca8d
2 changed files with 23 additions and 8 deletions
|
@ -1218,7 +1218,16 @@ extern void ppu_initialize()
|
|||
}
|
||||
|
||||
// New PPU cache location
|
||||
_main->cache = fmt::format("%sdata/%s/ppu-%s-%s/", fs::get_config_dir(), Emu.GetTitleID(), fmt::base57(_main->sha1), Emu.GetBoot().substr(Emu.GetBoot().find_last_of('/') + 1));
|
||||
_main->cache = fs::get_config_dir() + "data/";
|
||||
|
||||
if (!Emu.GetTitleID().empty() && Emu.GetCat() != "1P")
|
||||
{
|
||||
// TODO
|
||||
_main->cache += Emu.GetTitleID();
|
||||
_main->cache += '/';
|
||||
}
|
||||
|
||||
fmt::append(_main->cache, "ppu-%s-%s/", fmt::base57(_main->sha1), _main->path.substr(_main->path.find_last_of('/') + 1));
|
||||
|
||||
if (!fs::create_path(_main->cache))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue