Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core/State: Refactor logic for determining the relative age of existi…
…ng savestates. The code previously did this indirectly via `std::map<double, int>`, the key being the timestamp, which required a questionable workaround for the case where multiple states have the same timestamp. By having a particular combination of timestamps in the on-disk savestates, you could cause this workaround to infinitely loop, locking up Dolphin. This avoids this completely by refactoring the logic and just using `std::vector` instead.
- Loading branch information
1 parent
96550b8
commit 37aed35
Showing
1 changed file
with
45 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters