mirror of
https://github.com/libretro/Play-.git
synced 2024-12-04 23:36:30 +00:00
1a71b0d0b9
git-svn-id: http://svn.purei.org/purei/trunk@1114 b36208d7-6611-0410-8bec-b1987f11c4a2
20 lines
331 B
C++
20 lines
331 B
C++
#include "MemoryStateFile.h"
|
|
|
|
CMemoryStateFile::CMemoryStateFile(const char* name, const void* memory, size_t size)
|
|
: CZipFile(name)
|
|
, m_memory(memory)
|
|
, m_size(size)
|
|
{
|
|
|
|
}
|
|
|
|
CMemoryStateFile::~CMemoryStateFile()
|
|
{
|
|
|
|
}
|
|
|
|
void CMemoryStateFile::Write(Framework::CStream& stream)
|
|
{
|
|
stream.Write(m_memory, m_size);
|
|
}
|