mirror of
https://github.com/libretro/Play-.git
synced 2024-11-30 20:21:25 +00:00
14 lines
291 B
C++
14 lines
291 B
C++
#include "MemoryStateFile.h"
|
|
|
|
CMemoryStateFile::CMemoryStateFile(const char* name, const void* memory, size_t size)
|
|
: CZipFile(name)
|
|
, m_memory(memory)
|
|
, m_size(size)
|
|
{
|
|
}
|
|
|
|
void CMemoryStateFile::Write(Framework::CStream& stream)
|
|
{
|
|
stream.Write(m_memory, m_size);
|
|
}
|