public void Init() { if (QuickCmds == null) { QuickCmds = new string[10]; for (int i = 0; i < QuickCmds.Length; i++) { QuickCmds[i] = ""; } } if (IpAddress == null) { IpAddress = "Nintendo 3DS IP"; } if (GsUsed < 0) { GsUsed = 0; } }
public static void LoadConfig() { Sm = SettingsManager.LoadFromXml("ntrconfig.xml"); Sm.Init(); }