1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

Fix savestate reload functionality

This commit is contained in:
Eladash 2024-03-29 10:38:38 +03:00 committed by Elad Ashkenazi
parent 9a3b72f762
commit 4ecf8ecd06

View File

@ -216,7 +216,7 @@ bool boot_last_savestate(bool testing)
{
if (!g_cfg.savestate.suspend_emu && !Emu.GetTitleID().empty() && (Emu.IsRunning() || Emu.GetStatus() == system_state::paused))
{
const std::string save_dir = fs::get_cache_dir() + "/savestates/";
const std::string save_dir = fs::get_cache_dir() + "/savestates/" + Emu.GetTitleID() + '/';
std::string savestate_path;
s64 mtime = smin;