mirror of
https://github.com/libretro/Play-.git
synced 2024-11-30 20:21:25 +00:00
17 lines
321 B
C++
17 lines
321 B
C++
#pragma once
|
|
|
|
#include "zip/ZipFile.h"
|
|
|
|
class CMemoryStateFile : public Framework::CZipFile
|
|
{
|
|
public:
|
|
CMemoryStateFile(const char*, const void*, size_t);
|
|
virtual ~CMemoryStateFile() = default;
|
|
|
|
void Write(Framework::CStream&) override;
|
|
|
|
private:
|
|
const void* m_memory = nullptr;
|
|
size_t m_size = 0;
|
|
};
|