mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-09 16:04:33 +00:00
System: Fix regtest build
Keep forgetting I'm using these functions here.
This commit is contained in:
@@ -207,8 +207,6 @@ static std::string GetMemoryCardPathForSlot(u32 slot, MemoryCardType type);
|
||||
static void UpdateMultitaps();
|
||||
|
||||
static std::string GetMediaPathFromSaveState(const char* path);
|
||||
static bool LoadStateDataFromBuffer(std::span<const u8> data, u32 version, Error* error, bool update_display);
|
||||
static bool SaveStateDataToBuffer(std::span<u8> data, size_t* data_size, Error* error);
|
||||
static bool SaveUndoLoadState();
|
||||
static void UpdateMemorySaveStateSettings();
|
||||
static bool LoadOneRewindState();
|
||||
|
||||
@@ -282,6 +282,10 @@ bool SaveResumeState(Error* error);
|
||||
void LoadStateFromSlot(bool global, s32 slot);
|
||||
void SaveStateToSlot(bool global, s32 slot);
|
||||
|
||||
/// State data access, use with care as the media path is not updated.
|
||||
bool LoadStateDataFromBuffer(std::span<const u8> data, u32 version, Error* error, bool update_display);
|
||||
bool SaveStateDataToBuffer(std::span<u8> data, size_t* data_size, Error* error);
|
||||
|
||||
/// Runs the VM until the CPU execution is canceled.
|
||||
void Execute();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user