private byte[] LoadData(TOCEntry entry) { if (entry.CustomData == null) { byte[] data = _imgFile.ReadData(entry.OffsetBlock * 0x800, entry.Size); return data; } else { return entry.CustomData; } }
private void StoreData(TOCEntry entry, byte[] data) { entry.SetCustomData(data); }