mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
32 lines
651 B
C++
32 lines
651 B
C++
// SPDX-FileCopyrightText: 2002-2026 PCSX2 Dev Team
|
|
// SPDX-License-Identifier: GPL-3.0+
|
|
|
|
#pragma once
|
|
|
|
#include "common/Error.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace GSDumpReplayer
|
|
{
|
|
bool IsReplayingDump();
|
|
|
|
/// If set, playback will repeat once it reaches the last frame.
|
|
void SetLoopCount(s32 loop_count = 0);
|
|
int GetLoopCount();
|
|
bool IsRunner();
|
|
void SetIsDumpRunner(bool is_runner);
|
|
|
|
bool Initialize(const char* filename, Error* error = nullptr);
|
|
bool ChangeDump(const char* filename);
|
|
void Shutdown();
|
|
|
|
std::string GetDumpSerial();
|
|
u32 GetDumpCRC();
|
|
|
|
u32 GetFrameNumber();
|
|
|
|
void RenderUI();
|
|
} // namespace GSDumpReplayer
|