Ejemplo n.º 1
0
        public void DeleteEntry(ShimEntry entry)
        {
            int index = ShimEntries.IndexOf(entry);

            if (index != -1)
            {
                ShimEntries.Remove(entry);
                RebuildOffsets();
            }
        }
Ejemplo n.º 2
0
        public void ReplaceEntry(ShimEntry oldEntry, ShimEntry newEntry)
        {
            int index = ShimEntries.IndexOf(oldEntry);

            if (index != -1)
            {
                newEntry.Offset = oldEntry.Offset;
                newEntry.UnknownButImportant = oldEntry.UnknownButImportant;
                ShimEntries[index]           = newEntry;
                RebuildOffsets();
            }
        }