Savestates: Disable HDD1 saving optimization

HDD1 is very volatile, it was a bad idea not to save it.
This commit is contained in:
Eladash 2022-10-23 08:52:16 +03:00 committed by Megamouse
parent 9e4c24baa3
commit f16c9cd3c6

View file

@ -2393,20 +2393,13 @@ std::shared_ptr<utils::serial> Emulator::Kill(bool allow_autoexit, bool savestat
if (!_path.empty()) if (!_path.empty())
{ {
if (!g_cfg.savestate.suspend_emu) save_tar(_path);
{
save_tar(_path);
}
else
{
ar(usz{});
}
} }
}; };
auto save_hdd0 = [&]() auto save_hdd0 = [&]()
{ {
if (!g_cfg.savestate.suspend_emu && g_cfg.savestate.save_disc_game_data) if (g_cfg.savestate.save_disc_game_data)
{ {
const std::string path = vfs::get("/dev_hdd0/game/"); const std::string path = vfs::get("/dev_hdd0/game/");