public VNand(string filename, consoles c, string flashconfig, List <int> badBlocks) { this._filename = filename; this._console = c; this._flashconfig = flashconfig; this._badBlocks = badBlocks; }
private void listBoxConsoles_SelectedIndexChanged(object sender, EventArgs e) { listBoxConfigs.Items.Clear(); foreach (consoles c in variables.cunts) { if (c.ID == -1) { continue; } if (listBoxConsoles.Items[listBoxConsoles.SelectedIndex].ToString() == c.Text) { console = c; } } if (console.ID == 1 || console.ID == 4) { listBoxConfigs.Items.Add("00023010"); } else if (console.ID == 10) { listBoxConfigs.Items.Add("00043000"); } else if (console.ID == 6 || console.ID == 7) { listBoxConfigs.Items.Add("008A3020"); listBoxConfigs.Items.Add("00AA3020"); } else { listBoxConfigs.Items.Add("01198010"); } }
public void loadvariables(string cpukey, hacktypes ttype, int dash, consoles ctype, List <String> patches, Nand.PrivateN nand, bool altoptions, bool DLpatches, bool includeLaunch, bool audclamp, bool rjtag, bool cr4) { this._cpukey = cpukey; this._ttype = ttype; this._dash = dash; this._ctype = ctype; this._patches = patches; this._nand = nand; this._altoptions = altoptions; this._DLpatches = DLpatches; this._includeLaunch = includeLaunch; this._audclamp = audclamp; this._rjtag = rjtag; this._CR4 = cr4; }
static void Main(string[] args) { consoles c = new consoles(Show); c += Screen; c("test"); c -= Show; c("new test"); // Built in delegates Func <int, int, int> funcs = (int a, int b) => { return(a + b); }; funcs += Mul; funcs += Sub; foreach (Func <int, int, int> f in funcs.GetInvocationList()) { Console.WriteLine(f(4, 3)); } }
public VNand(string filename, consoles c, string flashconfig) : this(filename, c, "", new List <int>()) { }
public VNand(string filename, consoles c) : this(filename, c, "") { }
public void loadvariables(string cpukey, hacktypes ttype, int dash, consoles ctype, List <String> patches, Nand.PrivateN nand) { loadvariables(cpukey, ttype, dash, ctype, patches, nand, false, false, false, false, false, false); }