mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-07-11 01:24:54 +02:00
Fix compilation on VS 2026
This commit is contained in:
@@ -2724,7 +2724,7 @@ void Emulator::FixGuestTime()
|
||||
// Mark a known savestate location and the one we try to boot (in case we boot a moved/copied savestate)
|
||||
if (g_cfg.savestate.suspend_emu)
|
||||
{
|
||||
for (std::string old_path : std::initializer_list<std::string>{m_ar ? m_path_old : "", m_title_id.empty() ? "" : get_savestate_file(m_title_id, m_path_old, -1)})
|
||||
for (const std::string& old_path : {m_ar ? m_path_old : ""s, m_title_id.empty() ? ""s : get_savestate_file(m_title_id, m_path_old, -1)})
|
||||
{
|
||||
if (old_path.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user