1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-08-30 21:46:27 -05:00

Remove some warnings and cleaning code (#1736)

This commit is contained in:
Ac_K
2020-11-27 18:57:20 +01:00
committed by GitHub
parent 632a84155b
commit b1877632cf
9 changed files with 74 additions and 71 deletions

View File

@@ -10,6 +10,7 @@ using System.IO;
using System.Net;
using System.Net.NetworkInformation;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Ryujinx
@@ -163,7 +164,7 @@ namespace Ryujinx
{
using (Stream inStream = File.OpenRead(updateFile))
using (Stream gzipStream = new GZipInputStream(inStream))
using (TarInputStream tarStream = new TarInputStream(gzipStream))
using (TarInputStream tarStream = new TarInputStream(gzipStream, Encoding.ASCII))
{
updateDialog.ProgressBar.MaxValue = inStream.Length;