2020-02-18 05:19:52 +00:00
|
|
|
// Copyright 2020 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-08-11 03:55:22 +00:00
|
|
|
#include <string>
|
2020-02-18 05:19:52 +00:00
|
|
|
#include <vector>
|
|
|
|
#include "common/common_types.h"
|
|
|
|
|
|
|
|
namespace Core {
|
|
|
|
|
|
|
|
struct SaveStateInfo {
|
|
|
|
u32 slot;
|
|
|
|
u64 time;
|
|
|
|
enum class ValidationStatus {
|
|
|
|
OK,
|
|
|
|
RevisionDismatch,
|
|
|
|
} status;
|
2023-08-11 03:55:22 +00:00
|
|
|
std::string build_name;
|
2020-02-18 05:19:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
constexpr u32 SaveStateSlotCount = 10; // Maximum count of savestate slots
|
|
|
|
|
2023-08-01 00:57:38 +00:00
|
|
|
std::vector<SaveStateInfo> ListSaveStates(u64 program_id, u64 movie_id);
|
2020-02-18 05:19:52 +00:00
|
|
|
|
|
|
|
} // namespace Core
|