public void save(string patch, MemoryStream memoryAllenatori, int bitRecognized) { if (bitRecognized == 0) { //save zlib byte[] ss13 = Zlib18.ZLIBFile(memoryAllenatori.ToArray()); File.WriteAllBytes(patch + PATH, ss13); } else if (bitRecognized == 1) { UnzlibZlibConsole.UnzlibZlibConsole.zlib_memstream_to_console_xbox_overwriting(UnzlibZlibConsole.UnzlibZlibConsole.Coach_toConsole(memoryAllenatori), patch + PATH); } else if (bitRecognized == 2) { UnzlibZlibConsole.UnzlibZlibConsole.zlib_memstream_to_console_ps3_overwriting(UnzlibZlibConsole.UnzlibZlibConsole.Coach_toConsole(memoryAllenatori), patch + PATH); } }
public void save(string patch, MemoryStream memoryTattiche, int bitRecognized) { if (bitRecognized == 0) { //save zlib byte[] ss13 = Zlib18.ZLIBFile(memoryTattiche.ToArray()); File.WriteAllBytes(patch + PATH, ss13); } else if (bitRecognized == 1) { UnzlibZlibConsole.UnzlibZlibConsole.zlib_memstream_to_console_xbox_overwriting(UnzlibZlibConsole.UnzlibZlibConsole.TacticsFormation_Console(memoryTattiche), patch + PATH); } else if (bitRecognized == 2) { UnzlibZlibConsole.UnzlibZlibConsole.zlib_memstream_to_console_ps3_overwriting(UnzlibZlibConsole.UnzlibZlibConsole.TacticsFormation_Console(memoryTattiche), patch + PATH); } }