mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
savestate_utils.cpp: Fix out-of-range bug
This commit is contained in:
parent
0cd316116b
commit
c019b10aa8
1 changed files with 2 additions and 2 deletions
|
@ -196,9 +196,9 @@ bool is_savestate_version_compatible(const std::vector<version_entry>& data, boo
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for (auto [identifier, _] : data)
|
for (auto& entry : s_serial_versions)
|
||||||
{
|
{
|
||||||
s_serial_versions[identifier].current_version = 0;
|
entry.current_version = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue