public void ReadCompressedData(GBAROM rom, int offset)
{
hasBeenEdited = false;
data.Clear();
try
{
data.AddRange(rom.DecompressLZ77CompressedData(offset));
}
catch (ArgumentNullException e)
{
throw new ArgumentException("The data at offset " + offset.ToString("X8") + " can't be decompressed.", e);
}
}