mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-27 11:00:50 +00:00
850102bbdc
Movies: Rewrote format to support all IO devices and console types Netplay: Now supports all IO devices and console types
21 lines
402 B
C++
21 lines
402 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
#include <deque>
|
|
#include "BaseControlDevice.h"
|
|
|
|
class RewindData
|
|
{
|
|
private:
|
|
vector<uint8_t> SaveStateData;
|
|
uint32_t OriginalSaveStateSize = 0;
|
|
|
|
void CompressState(string stateData, vector<uint8_t> &compressedState);
|
|
|
|
public:
|
|
std::deque<ControlDeviceState> InputLogs[BaseControlDevice::PortCount];
|
|
int32_t FrameCount = 0;
|
|
|
|
void LoadState();
|
|
void SaveState();
|
|
};
|