mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-10 21:00:06 +00:00
Various miscelaneous changes (#6496)
This commit is contained in:
parent
41f13456c0
commit
34de77d429
74 changed files with 44 additions and 81 deletions
|
@ -67,6 +67,7 @@ static bool ValidateSaveState(const CSTHeader& header, SaveStateInfo& info, u64
|
|||
|
||||
std::vector<SaveStateInfo> ListSaveStates(u64 program_id) {
|
||||
std::vector<SaveStateInfo> result;
|
||||
result.reserve(SaveStateSlotCount);
|
||||
for (u32 slot = 1; slot <= SaveStateSlotCount; ++slot) {
|
||||
const auto path = GetSaveStatePath(program_id, slot);
|
||||
if (!FileUtil::Exists(path)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue