diff --git a/IPA.Loader/Config/IniFile.cs b/IPA.Loader/Config/IniFile.cs index 3ba9300b..7a808728 100644 --- a/IPA.Loader/Config/IniFile.cs +++ b/IPA.Loader/Config/IniFile.cs @@ -1,4 +1,5 @@ -using System.IO; +using System; +using System.IO; using System.Runtime.InteropServices; using System.Text; @@ -7,6 +8,7 @@ namespace IPA.Config /// /// Create a New INI file to store or load data /// + [Obsolete("Jesus, this uses old 16-bit system calls!")] internal class IniFile { [DllImport("KERNEL32.DLL", EntryPoint = "GetPrivateProfileStringW", diff --git a/IPA.Loader/Config/ModPrefs.cs b/IPA.Loader/Config/ModPrefs.cs index e63002f7..151162f0 100644 --- a/IPA.Loader/Config/ModPrefs.cs +++ b/IPA.Loader/Config/ModPrefs.cs @@ -8,6 +8,7 @@ namespace IPA.Config /// /// Allows to get and set preferences for your mod. /// + [Obsolete("This uses IniFile")] public interface IModPrefs { /// @@ -87,6 +88,7 @@ namespace IPA.Config /// /// Allows to get and set preferences for your mod. /// + [Obsolete("This uses IniFile, which is dumb")] public class ModPrefs : IModPrefs { private static ModPrefs _staticInstance;