namespace BizHawk.Emulation.Common
{
public interface ISaveRam : IEmulator, IEmulatorService
{
///
/// return a copy of the saveram. editing it won't do you any good unless you later call StoreSaveRam()
///
byte[] CloneSaveRam();
///
/// store new saveram to the emu core. the data should be the same size as the return from ReadSaveRam()
///
void StoreSaveRam(byte[] data);
///
/// Whether or not Save ram has been modified since the last save
///
bool SaveRamModified { get; }
}
}