From 5313ad4ae1bc10ace468d5c5a4d70b081cdef060 Mon Sep 17 00:00:00 2001 From: Marco Carvalho Date: Sun, 7 Apr 2024 16:58:48 -0300 Subject: [PATCH] dotnet format --- src/ARMeilleure/CodeGen/Arm64/CodeGenContext.cs | 2 +- src/ARMeilleure/Translation/PTC/PtcProfiler.cs | 2 +- src/Ryujinx.Common/Utilities/StreamUtils.cs | 1 - .../Shader/DiskCache/ShaderBinarySerializer.cs | 2 +- src/Ryujinx.Gtk3/UI/Windows/AvatarWindow.cs | 2 +- src/Ryujinx.Gtk3/UI/Windows/UserProfilesManagerWindow.cs | 2 +- src/Ryujinx.HLE/HOS/Applets/Browser/BrowserApplet.cs | 2 +- src/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs | 2 +- src/Ryujinx.HLE/HOS/Applets/PlayerSelect/PlayerSelectApplet.cs | 2 +- .../HOS/Services/Am/AppletAE/Storage/StorageHelper.cs | 2 +- src/Ryujinx.HLE/HOS/Services/Sdb/Pl/SharedFontManager.cs | 2 +- src/Ryujinx.HLE/HOS/Services/ServerBase.cs | 2 +- src/Ryujinx.Input/Motion/CemuHook/Client.cs | 2 +- 13 files changed, 12 insertions(+), 13 deletions(-) diff --git a/src/ARMeilleure/CodeGen/Arm64/CodeGenContext.cs b/src/ARMeilleure/CodeGen/Arm64/CodeGenContext.cs index 22d9c0e00..3f405e326 100644 --- a/src/ARMeilleure/CodeGen/Arm64/CodeGenContext.cs +++ b/src/ARMeilleure/CodeGen/Arm64/CodeGenContext.cs @@ -1,11 +1,11 @@ using ARMeilleure.CodeGen.Linking; using ARMeilleure.CodeGen.RegisterAllocators; using ARMeilleure.IntermediateRepresentation; +using Microsoft.IO; using Ryujinx.Common.Memory; using System; using System.Collections.Generic; using System.IO; -using Microsoft.IO; namespace ARMeilleure.CodeGen.Arm64 { diff --git a/src/ARMeilleure/Translation/PTC/PtcProfiler.cs b/src/ARMeilleure/Translation/PTC/PtcProfiler.cs index 0b7a92108..fa7bf3dd3 100644 --- a/src/ARMeilleure/Translation/PTC/PtcProfiler.cs +++ b/src/ARMeilleure/Translation/PTC/PtcProfiler.cs @@ -1,4 +1,5 @@ using ARMeilleure.State; +using Microsoft.IO; using Ryujinx.Common; using Ryujinx.Common.Logging; using Ryujinx.Common.Memory; @@ -14,7 +15,6 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using System.Timers; -using Microsoft.IO; using static ARMeilleure.Translation.PTC.PtcFormatter; using Timer = System.Timers.Timer; diff --git a/src/Ryujinx.Common/Utilities/StreamUtils.cs b/src/Ryujinx.Common/Utilities/StreamUtils.cs index 46f309873..72492a323 100644 --- a/src/Ryujinx.Common/Utilities/StreamUtils.cs +++ b/src/Ryujinx.Common/Utilities/StreamUtils.cs @@ -3,7 +3,6 @@ using Ryujinx.Common.Memory; using System.IO; using System.Threading; using System.Threading.Tasks; -using Microsoft.IO; namespace Ryujinx.Common.Utilities { diff --git a/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/ShaderBinarySerializer.cs b/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/ShaderBinarySerializer.cs index 6e23f0500..8bb19d88e 100644 --- a/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/ShaderBinarySerializer.cs +++ b/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/ShaderBinarySerializer.cs @@ -1,3 +1,4 @@ +using Microsoft.IO; using Ryujinx.Common; using Ryujinx.Common.Memory; using Ryujinx.Graphics.GAL; @@ -5,7 +6,6 @@ using Ryujinx.Graphics.Shader; using Ryujinx.Graphics.Shader.Translation; using System.Collections.Generic; using System.IO; -using Microsoft.IO; namespace Ryujinx.Graphics.Gpu.Shader.DiskCache { diff --git a/src/Ryujinx.Gtk3/UI/Windows/AvatarWindow.cs b/src/Ryujinx.Gtk3/UI/Windows/AvatarWindow.cs index dc2beafba..95a2c0f29 100644 --- a/src/Ryujinx.Gtk3/UI/Windows/AvatarWindow.cs +++ b/src/Ryujinx.Gtk3/UI/Windows/AvatarWindow.cs @@ -6,6 +6,7 @@ using LibHac.FsSystem; using LibHac.Ncm; using LibHac.Tools.FsSystem; using LibHac.Tools.FsSystem.NcaUtils; +using Microsoft.IO; using Ryujinx.Common.Memory; using Ryujinx.HLE.FileSystem; using Ryujinx.UI.Common.Configuration; @@ -18,7 +19,6 @@ using System.Buffers.Binary; using System.Collections.Generic; using System.IO; using System.Reflection; -using Microsoft.IO; using Image = SixLabors.ImageSharp.Image; namespace Ryujinx.UI.Windows diff --git a/src/Ryujinx.Gtk3/UI/Windows/UserProfilesManagerWindow.cs b/src/Ryujinx.Gtk3/UI/Windows/UserProfilesManagerWindow.cs index 2e302080a..904151460 100644 --- a/src/Ryujinx.Gtk3/UI/Windows/UserProfilesManagerWindow.cs +++ b/src/Ryujinx.Gtk3/UI/Windows/UserProfilesManagerWindow.cs @@ -1,4 +1,5 @@ using Gtk; +using Microsoft.IO; using Ryujinx.Common.Memory; using Ryujinx.HLE.FileSystem; using Ryujinx.HLE.HOS.Services.Account.Acc; @@ -12,7 +13,6 @@ using System.IO; using System.Reflection; using System.Threading; using System.Threading.Tasks; -using Microsoft.IO; using Image = SixLabors.ImageSharp.Image; namespace Ryujinx.UI.Windows diff --git a/src/Ryujinx.HLE/HOS/Applets/Browser/BrowserApplet.cs b/src/Ryujinx.HLE/HOS/Applets/Browser/BrowserApplet.cs index cbc87d96c..e6bcf8838 100644 --- a/src/Ryujinx.HLE/HOS/Applets/Browser/BrowserApplet.cs +++ b/src/Ryujinx.HLE/HOS/Applets/Browser/BrowserApplet.cs @@ -1,3 +1,4 @@ +using Microsoft.IO; using Ryujinx.Common; using Ryujinx.Common.Logging; using Ryujinx.Common.Memory; @@ -5,7 +6,6 @@ using Ryujinx.HLE.HOS.Services.Am.AppletAE; using System; using System.Collections.Generic; using System.IO; -using Microsoft.IO; namespace Ryujinx.HLE.HOS.Applets.Browser { diff --git a/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs b/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs index efba3ee01..c4b150ede 100644 --- a/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs +++ b/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs @@ -1,3 +1,4 @@ +using Microsoft.IO; using Ryujinx.Common.Logging; using Ryujinx.Common.Memory; using Ryujinx.HLE.HOS.Services.Am.AppletAE; @@ -7,7 +8,6 @@ using System; using System.IO; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using Microsoft.IO; using static Ryujinx.HLE.HOS.Services.Hid.HidServer.HidUtils; namespace Ryujinx.HLE.HOS.Applets diff --git a/src/Ryujinx.HLE/HOS/Applets/PlayerSelect/PlayerSelectApplet.cs b/src/Ryujinx.HLE/HOS/Applets/PlayerSelect/PlayerSelectApplet.cs index f0ffd8ff7..a209a1190 100644 --- a/src/Ryujinx.HLE/HOS/Applets/PlayerSelect/PlayerSelectApplet.cs +++ b/src/Ryujinx.HLE/HOS/Applets/PlayerSelect/PlayerSelectApplet.cs @@ -1,9 +1,9 @@ +using Microsoft.IO; using Ryujinx.Common.Memory; using Ryujinx.HLE.HOS.Services.Account.Acc; using Ryujinx.HLE.HOS.Services.Am.AppletAE; using System; using System.IO; -using Microsoft.IO; namespace Ryujinx.HLE.HOS.Applets { diff --git a/src/Ryujinx.HLE/HOS/Services/Am/AppletAE/Storage/StorageHelper.cs b/src/Ryujinx.HLE/HOS/Services/Am/AppletAE/Storage/StorageHelper.cs index 0ab1f4c3d..d96877362 100644 --- a/src/Ryujinx.HLE/HOS/Services/Am/AppletAE/Storage/StorageHelper.cs +++ b/src/Ryujinx.HLE/HOS/Services/Am/AppletAE/Storage/StorageHelper.cs @@ -1,7 +1,7 @@ +using Microsoft.IO; using Ryujinx.Common.Memory; using Ryujinx.HLE.HOS.Services.Account.Acc; using System.IO; -using Microsoft.IO; namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.Storage { diff --git a/src/Ryujinx.HLE/HOS/Services/Sdb/Pl/SharedFontManager.cs b/src/Ryujinx.HLE/HOS/Services/Sdb/Pl/SharedFontManager.cs index 966b9d94e..0ddf64e81 100644 --- a/src/Ryujinx.HLE/HOS/Services/Sdb/Pl/SharedFontManager.cs +++ b/src/Ryujinx.HLE/HOS/Services/Sdb/Pl/SharedFontManager.cs @@ -5,6 +5,7 @@ using LibHac.FsSystem; using LibHac.Ncm; using LibHac.Tools.FsSystem; using LibHac.Tools.FsSystem.NcaUtils; +using Microsoft.IO; using Ryujinx.Common.Memory; using Ryujinx.HLE.Exceptions; using Ryujinx.HLE.FileSystem; @@ -14,7 +15,6 @@ using System; using System.Buffers.Binary; using System.Collections.Generic; using System.IO; -using Microsoft.IO; namespace Ryujinx.HLE.HOS.Services.Sdb.Pl { diff --git a/src/Ryujinx.HLE/HOS/Services/ServerBase.cs b/src/Ryujinx.HLE/HOS/Services/ServerBase.cs index 5581506cd..9db59108f 100644 --- a/src/Ryujinx.HLE/HOS/Services/ServerBase.cs +++ b/src/Ryujinx.HLE/HOS/Services/ServerBase.cs @@ -1,3 +1,4 @@ +using Microsoft.IO; using Ryujinx.Common; using Ryujinx.Common.Logging; using Ryujinx.Common.Memory; @@ -14,7 +15,6 @@ using System.Buffers.Binary; using System.Collections.Generic; using System.IO; using System.Threading; -using Microsoft.IO; namespace Ryujinx.HLE.HOS.Services { diff --git a/src/Ryujinx.Input/Motion/CemuHook/Client.cs b/src/Ryujinx.Input/Motion/CemuHook/Client.cs index ffa55efde..b1f78baee 100644 --- a/src/Ryujinx.Input/Motion/CemuHook/Client.cs +++ b/src/Ryujinx.Input/Motion/CemuHook/Client.cs @@ -1,3 +1,4 @@ +using Microsoft.IO; using Ryujinx.Common; using Ryujinx.Common.Configuration.Hid; using Ryujinx.Common.Configuration.Hid.Controller; @@ -14,7 +15,6 @@ using System.Net; using System.Net.Sockets; using System.Numerics; using System.Threading.Tasks; -using Microsoft.IO; namespace Ryujinx.Input.Motion.CemuHook {