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 f67ba78e1b
commit c1c12a9b4a
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;