project64/Source/Project64-core/N64System/Mips/Sram.h

22 lines
397 B
C++

#pragma once
class CSram
{
public:
CSram(bool ReadOnly);
~CSram();
void DmaFromSram(uint8_t * dest, int32_t StartOffset, uint32_t len);
void DmaToSram(uint8_t * Source, int32_t StartOffset, uint32_t len);
private:
CSram(void);
CSram(const CSram&);
CSram& operator=(const CSram&);
bool LoadSram();
bool m_ReadOnly;
CFile m_File;
};