System: Fix regtest build

Keep forgetting I'm using these functions here.
This commit is contained in:
Stenzek
2025-11-01 14:46:23 +10:00
parent 899d500d35
commit 5de231ca5a
2 changed files with 4 additions and 2 deletions

View File

@@ -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();

View File

@@ -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();