mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-02 04:36:57 -06:00
Fix compilation on VS 2026
This commit is contained in:
parent
64ba0dd5e6
commit
dd81c92a02
@ -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())
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user