Play-/Source/MemoryStateFile.cpp
2018-04-30 21:01:23 +01:00

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);
}