27 lines
468 B
C#
27 lines
468 B
C#
using System;
|
|
using static OptimeGBA.Bits;
|
|
namespace OptimeGBA
|
|
{
|
|
public sealed class NullSaveProvider : SaveProvider
|
|
{
|
|
public override byte Read8(uint addr)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public override void Write8(uint addr, byte val)
|
|
{
|
|
|
|
}
|
|
|
|
public override byte[] GetSave()
|
|
{
|
|
return new byte[0];
|
|
}
|
|
|
|
public override void LoadSave(byte[] save)
|
|
{
|
|
|
|
}
|
|
}
|
|
} |