Example #1
0
        private byte[] LoadData(TOCEntry entry)
        {
            if (entry.CustomData == null)
            {
                byte[] data = _imgFile.ReadData(entry.OffsetBlock * 0x800, entry.Size);

                return data;                
            }
            else
            {
                return entry.CustomData;
            }
        }
Example #2
0
 private void StoreData(TOCEntry entry, byte[] data)
 {
     entry.SetCustomData(data);
 }