Exemple #1
0
        public static void RestoreAll()
        {
            if (!RuntimeEnvironment.Is32Bit)
            {
                throw new NotSupportedException();
            }

            foreach (PatchInfo patchInfo in _patchInfos)
            {
                MarshalEx.Write(patchInfo.Address, patchInfo.Original);
            }
        }