public static void smethod_4(IEnumerable <GClass30> ienumerable_0, DriveInfo driveInfo_0, bool bool_0, bool bool_1, Form form_1 = null) { string str1 = "--COPY REPORT--" + Environment.NewLine; int num = 0; IEnumerable <GClass30> source = ienumerable_0; Func <GClass30, bool> func = (Func <GClass30, bool>)(gclass30_0 => gclass30_0.Platform == Platform.Gamecube); Func <GClass30, bool> predicate; if (source.Any <GClass30>(predicate)) { GClass94.smethod_8(driveInfo_0); } foreach (GClass30 gclass30 in ienumerable_0) { string str2 = gclass30.method_9(bool_0, driveInfo_0); if (str2 == "OK") { ++num; if (gclass30 is GClass32) { (gclass30 as GClass32).Boolean_5 = true; } } else { str1 += string.Format("-{0} : {1} {2}", (object)gclass30, (object)str2, (object)Environment.NewLine); } } string string_1 = str1 + string.Format("-{0} title(s) were copied successfully{1}", (object)num, (object)Environment.NewLine); if (!bool_1 || form_1 == null) { return; } Class97.smethod_5("Copy report", string_1, 10, true, (Image)null); }
private void method_4(string string_0) { Class97.smethod_5("Error found", string.Format("USB Helper has detected that some or all of the games on your SD card (drive {0}) have special characters in their directory name.\nPlease remove the special characters (such as é,©,etc..) or the installation will fail.\nIn the future, prefer using the Copy to SD feature to avoid this problem.", (object)string_0), -1, true, (Image)Class123.icnSd); }