From 951700fdd8f54fb34ffe8a3fb328a68b5bf37abe Mon Sep 17 00:00:00 2001 From: Nicholas Rodine Date: Thu, 18 Aug 2022 11:04:54 -0500 Subject: [PATCH] Removed unused usings. (#3593) * Removed unused usings. * Added back using, now that it's used. * Removed extra whitespace. --- ARMeilleure/CodeGen/RegisterAllocators/StackAllocator.cs | 2 -- ARMeilleure/CodeGen/X86/CallingConvention.cs | 1 - ARMeilleure/Common/ArenaAllocator.cs | 1 - ARMeilleure/Decoders/OpCodeT16IfThen.cs | 1 - ARMeilleure/Decoders/OpCodeT32BImm20.cs | 4 +--- ARMeilleure/Instructions/InstEmitException32.cs | 2 -- ARMeilleure/Instructions/InstEmitSimdArithmetic32.cs | 2 -- ARMeilleure/Instructions/NativeInterface.cs | 2 -- ARMeilleure/Signal/WindowsSignalHandlerRegistration.cs | 1 - Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceDriver.cs | 1 - Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceSession.cs | 1 - .../Native/libsoundio/SoundIOSampleRateRange.cs | 3 +-- Ryujinx.Audio/Renderer/Dsp/Command/BiquadFilterCommand.cs | 1 - .../Renderer/Dsp/Command/CaptureBufferCommand.cs | 1 - .../Renderer/Dsp/Command/CircularBufferSinkCommand.cs | 1 - Ryujinx.Audio/Renderer/Dsp/Command/CommandList.cs | 1 - .../Renderer/Dsp/Command/CopyMixBufferCommand.cs | 2 -- .../Renderer/Dsp/Command/DepopForMixBuffersCommand.cs | 1 - .../Renderer/Dsp/Command/LimiterCommandVersion1.cs | 1 - .../Renderer/Dsp/Command/LimiterCommandVersion2.cs | 1 - Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs | 1 - Ryujinx.Audio/Renderer/Server/CommandBuffer.cs | 1 - .../Server/CommandProcessingTimeEstimatorVersion4.cs | 4 ---- Ryujinx.Ava/Common/ApplicationHelper.cs | 1 - Ryujinx.Ava/Input/AvaloniaMouseDriver.cs | 1 - Ryujinx.Ava/Program.cs | 2 -- Ryujinx.Ava/Ui/Applet/AvaHostUiHandler.cs | 1 - Ryujinx.Ava/Ui/Applet/ErrorAppletWindow.axaml.cs | 1 - Ryujinx.Ava/Ui/Applet/SwkbdAppletDialog.axaml.cs | 1 - Ryujinx.Ava/Ui/Controls/InputDialog.axaml.cs | 2 -- Ryujinx.Ava/Ui/Controls/UpdateWaitWindow.axaml.cs | 2 -- Ryujinx.Ava/Ui/ViewModels/ControllerSettingsViewModel.cs | 2 -- Ryujinx.Ava/Ui/Windows/AboutWindow.axaml.cs | 3 +-- Ryujinx.Ava/Ui/Windows/AmiiboWindow.axaml.cs | 1 - Ryujinx.Ava/Ui/Windows/CheatWindow.axaml.cs | 4 +--- Ryujinx.Ava/Ui/Windows/MainWindow.axaml.cs | 2 -- Ryujinx.Ava/Ui/Windows/TitleUpdateWindow.axaml.cs | 2 -- Ryujinx.Ava/Ui/Windows/UpdaterWindow.axaml.cs | 2 -- .../Hid/Controller/GenericControllerInputConfig.cs | 2 -- Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs | 3 +-- Ryujinx.Common/Logging/Targets/ConsoleLogTarget.cs | 1 - Ryujinx.Common/Logging/Targets/FileLogTarget.cs | 1 - Ryujinx.Common/System/ForceDpiAware.cs | 1 - Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs | 1 - Ryujinx.Common/Utilities/BitUtils.cs | 1 - Ryujinx.Graphics.GAL/HardwareInfo.cs | 6 +----- Ryujinx.Graphics.GAL/IRenderer.cs | 1 - .../Multithreading/Commands/SetVertexBuffersCommand.cs | 1 - .../Multithreading/Commands/SetViewportsCommand.cs | 1 - .../Multithreading/Commands/UpdateRenderScaleCommand.cs | 1 - .../Resources/Programs/SourceProgramRequest.cs | 4 +--- Ryujinx.Graphics.Gpu/Engine/MME/Macro.cs | 1 - Ryujinx.Graphics.Gpu/Engine/Threed/DrawManager.cs | 1 - Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs | 1 - Ryujinx.Graphics.Gpu/Image/TextureCache.cs | 2 -- Ryujinx.Graphics.Gpu/Memory/Buffer.cs | 1 - .../Shader/DiskCache/GuestCodeAndCbData.cs | 2 -- .../Shader/HashTable/PartitionHashTable.cs | 1 - Ryujinx.Graphics.Gpu/Shader/ShaderDumper.cs | 1 - Ryujinx.Graphics.Nvdec.Vp9/Dsp/Convolve.cs | 1 - Ryujinx.Graphics.OpenGL/Window.cs | 1 - Ryujinx.Graphics.Shader/CodeGen/Spirv/CodeGenContext.cs | 1 - Ryujinx.Graphics.Shader/Translation/Translator.cs | 2 -- Ryujinx.Graphics.Texture/Size.cs | 3 --- Ryujinx.Graphics.Vulkan/Shaders/ShaderBinaries.cs | 2 -- Ryujinx.Graphics.Vulkan/TextureView.cs | 3 +-- Ryujinx.HLE/HOS/Applets/Browser/BrowserApplet.cs | 2 -- Ryujinx.HLE/HOS/Applets/Error/ApplicationErrorArg.cs | 1 - .../HOS/Applets/SoftwareKeyboard/KeyboardInputMode.cs | 8 +------- .../HOS/Applets/SoftwareKeyboard/KeyboardResult.cs | 4 +--- Ryujinx.HLE/HOS/ApplicationLoader.cs | 2 -- Ryujinx.HLE/HOS/Kernel/Common/MersenneTwister.cs | 1 - Ryujinx.HLE/HOS/Kernel/Ipc/KClientPort.cs | 1 - Ryujinx.HLE/HOS/Kernel/Ipc/KClientSession.cs | 2 -- Ryujinx.HLE/HOS/Kernel/Process/KContextIdManager.cs | 1 - Ryujinx.HLE/HOS/Kernel/Process/KProcessCapabilities.cs | 1 - .../SystemAppletProxy/ILibraryAppletCreator.cs | 1 - .../ApplicationProxy/IApplicationFunctions.cs | 2 -- Ryujinx.HLE/HOS/Services/Audio/Types/OpusPacketHeader.cs | 4 +--- .../Bcat/ServiceCreator/IDeliveryCacheProgressService.cs | 4 +--- Ryujinx.HLE/HOS/Services/Hid/HidDevices/BaseDevice.cs | 2 -- Ryujinx.HLE/HOS/Services/Ngct/IService.cs | 4 +--- Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvDeviceFile.cs | 1 - .../Nv/NvDrvServices/NvHostCtrl/NvHostCtrlDeviceFile.cs | 2 -- Ryujinx.HLE/HOS/Services/ServerBase.cs | 1 - .../HOS/Services/Sockets/Bsd/Types/PollEventData.cs | 4 +--- Ryujinx.HLE/HOS/Services/Sockets/Nsd/IManager.cs | 1 - Ryujinx.HLE/HOS/Services/Sockets/Sfdnsres/IResolver.cs | 2 -- Ryujinx.HLE/HOS/Services/Ssl/ISslService.cs | 1 - .../HOS/Services/Ssl/SslService/ISslConnectionBase.cs | 1 - .../HOS/Services/SurfaceFlinger/Types/GraphicBuffer.cs | 1 - .../Time/Clock/SystemClockContextUpdateCallback.cs | 1 - .../Services/Time/StaticService/ITimeZoneServiceForPsc.cs | 1 - Ryujinx.HLE/HOS/Tamper/CodeType.cs | 8 +------- Ryujinx.HLE/HOS/Tamper/Comparison.cs | 8 +------- Ryujinx.HLE/HOS/Tamper/CompilationContext.cs | 4 ---- Ryujinx.HLE/HOS/Tamper/MemoryRegion.cs | 8 +------- Ryujinx.HLE/HOS/Tamper/Operations/ForBlock.cs | 1 - Ryujinx.HLE/HOS/TamperMachine.cs | 1 - Ryujinx.HLE/Ui/Input/NpadReader.cs | 1 - Ryujinx.Headless.SDL2/SDL2MouseDriver.cs | 3 +-- Ryujinx.Headless.SDL2/Vulkan/VulkanWindow.cs | 1 - Ryujinx.Input/HLE/NpadController.cs | 1 - Ryujinx.Input/HLE/NpadManager.cs | 2 -- Ryujinx.Memory/Tracking/MemoryTracking.cs | 1 - Ryujinx.Tests.Unicorn/Native/Arm32Register.cs | 6 +----- Ryujinx.Tests/Cpu/CpuTestAlu32.cs | 1 - Ryujinx.Tests/Cpu/CpuTestAluBinary32.cs | 1 - Ryujinx.Tests/Cpu/CpuTestAluImm32.cs | 1 - Ryujinx.Tests/Cpu/CpuTestMul32.cs | 1 - Ryujinx.Tests/Cpu/CpuTestSimdLogical32.cs | 1 - Ryujinx.Tests/Cpu/CpuTestSimdMov32.cs | 1 - Ryujinx.Tests/Cpu/CpuTestSimdReg32.cs | 1 - Ryujinx.Tests/Cpu/CpuTestSimdRegElem32.cs | 1 - Ryujinx.Tests/Cpu/CpuTestT32Alu.cs | 4 +--- Ryujinx.Tests/Cpu/CpuTestT32Mem.cs | 4 +--- Ryujinx.Tests/Cpu/CpuTestThumb.cs | 1 - Ryujinx.Tests/Cpu/PrecomputedMemoryThumbTestCase.cs | 2 -- Ryujinx.Ui.Common/Helper/SetupValidator.cs | 1 - Ryujinx/Ui/GLRenderer.cs | 4 +--- Ryujinx/Ui/SPBOpenGLContext.cs | 4 +--- Ryujinx/Ui/VKRenderer.cs | 1 - Ryujinx/Ui/Widgets/GameTableContextMenu.cs | 1 - Ryujinx/Ui/Widgets/UserErrorDialog.cs | 1 - Ryujinx/Ui/Windows/CheatWindow.cs | 3 +-- 125 files changed, 24 insertions(+), 221 deletions(-) diff --git a/ARMeilleure/CodeGen/RegisterAllocators/StackAllocator.cs b/ARMeilleure/CodeGen/RegisterAllocators/StackAllocator.cs index a6233d6eef..038312fedc 100644 --- a/ARMeilleure/CodeGen/RegisterAllocators/StackAllocator.cs +++ b/ARMeilleure/CodeGen/RegisterAllocators/StackAllocator.cs @@ -1,6 +1,4 @@ -using ARMeilleure.Common; using ARMeilleure.IntermediateRepresentation; -using System; namespace ARMeilleure.CodeGen.RegisterAllocators { diff --git a/ARMeilleure/CodeGen/X86/CallingConvention.cs b/ARMeilleure/CodeGen/X86/CallingConvention.cs index 7479962346..953fef5b0e 100644 --- a/ARMeilleure/CodeGen/X86/CallingConvention.cs +++ b/ARMeilleure/CodeGen/X86/CallingConvention.cs @@ -1,5 +1,4 @@ using System; -using System.Runtime.InteropServices; namespace ARMeilleure.CodeGen.X86 { diff --git a/ARMeilleure/Common/ArenaAllocator.cs b/ARMeilleure/Common/ArenaAllocator.cs index 4ac7020da5..bce6794ada 100644 --- a/ARMeilleure/Common/ArenaAllocator.cs +++ b/ARMeilleure/Common/ArenaAllocator.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Runtime.CompilerServices; -using System.Threading; namespace ARMeilleure.Common { diff --git a/ARMeilleure/Decoders/OpCodeT16IfThen.cs b/ARMeilleure/Decoders/OpCodeT16IfThen.cs index bf84d1d302..8c3de689e7 100644 --- a/ARMeilleure/Decoders/OpCodeT16IfThen.cs +++ b/ARMeilleure/Decoders/OpCodeT16IfThen.cs @@ -1,5 +1,4 @@ using System.Collections.Generic; -using System.Reflection.Emit; namespace ARMeilleure.Decoders { diff --git a/ARMeilleure/Decoders/OpCodeT32BImm20.cs b/ARMeilleure/Decoders/OpCodeT32BImm20.cs index 8ed4b4b1f5..b6da8abdb5 100644 --- a/ARMeilleure/Decoders/OpCodeT32BImm20.cs +++ b/ARMeilleure/Decoders/OpCodeT32BImm20.cs @@ -1,6 +1,4 @@ -using ARMeilleure.Instructions; - -namespace ARMeilleure.Decoders +namespace ARMeilleure.Decoders { class OpCodeT32BImm20 : OpCodeT32, IOpCode32BImm { diff --git a/ARMeilleure/Instructions/InstEmitException32.cs b/ARMeilleure/Instructions/InstEmitException32.cs index a2a3869fca..ec0c32bf90 100644 --- a/ARMeilleure/Instructions/InstEmitException32.cs +++ b/ARMeilleure/Instructions/InstEmitException32.cs @@ -1,7 +1,5 @@ using ARMeilleure.Decoders; using ARMeilleure.Translation; - -using static ARMeilleure.Instructions.InstEmitFlowHelper; using static ARMeilleure.IntermediateRepresentation.Operand.Factory; namespace ARMeilleure.Instructions diff --git a/ARMeilleure/Instructions/InstEmitSimdArithmetic32.cs b/ARMeilleure/Instructions/InstEmitSimdArithmetic32.cs index 68cd8d848c..ed6b2a3149 100644 --- a/ARMeilleure/Instructions/InstEmitSimdArithmetic32.cs +++ b/ARMeilleure/Instructions/InstEmitSimdArithmetic32.cs @@ -2,8 +2,6 @@ using ARMeilleure.IntermediateRepresentation; using ARMeilleure.Translation; using System; -using System.Diagnostics; - using static ARMeilleure.Instructions.InstEmitFlowHelper; using static ARMeilleure.Instructions.InstEmitHelper; using static ARMeilleure.Instructions.InstEmitSimdHelper; diff --git a/ARMeilleure/Instructions/NativeInterface.cs b/ARMeilleure/Instructions/NativeInterface.cs index eebb824e11..ca4133adaf 100644 --- a/ARMeilleure/Instructions/NativeInterface.cs +++ b/ARMeilleure/Instructions/NativeInterface.cs @@ -2,8 +2,6 @@ using ARMeilleure.Memory; using ARMeilleure.State; using ARMeilleure.Translation; using System; -using System.Diagnostics; -using System.Runtime.InteropServices; namespace ARMeilleure.Instructions { diff --git a/ARMeilleure/Signal/WindowsSignalHandlerRegistration.cs b/ARMeilleure/Signal/WindowsSignalHandlerRegistration.cs index 513829a6ef..b74f1098b4 100644 --- a/ARMeilleure/Signal/WindowsSignalHandlerRegistration.cs +++ b/ARMeilleure/Signal/WindowsSignalHandlerRegistration.cs @@ -1,5 +1,4 @@ using System; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace ARMeilleure.Signal diff --git a/Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceDriver.cs b/Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceDriver.cs index 54548c1137..3953b809e7 100644 --- a/Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceDriver.cs +++ b/Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceDriver.cs @@ -4,7 +4,6 @@ using Ryujinx.Memory; using Ryujinx.SDL2.Common; using System; using System.Collections.Concurrent; -using System.Runtime.InteropServices; using System.Threading; using static Ryujinx.Audio.Integration.IHardwareDeviceDriver; diff --git a/Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceSession.cs b/Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceSession.cs index b39f196ac1..38e2b1330d 100644 --- a/Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceSession.cs +++ b/Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceSession.cs @@ -4,7 +4,6 @@ using Ryujinx.Common.Logging; using Ryujinx.Memory; using System; using System.Collections.Concurrent; -using System.Runtime.InteropServices; using System.Threading; using static SDL2.SDL; diff --git a/Ryujinx.Audio.Backends.SoundIo/Native/libsoundio/SoundIOSampleRateRange.cs b/Ryujinx.Audio.Backends.SoundIo/Native/libsoundio/SoundIOSampleRateRange.cs index e01ec2bdac..3cdf751382 100644 --- a/Ryujinx.Audio.Backends.SoundIo/Native/libsoundio/SoundIOSampleRateRange.cs +++ b/Ryujinx.Audio.Backends.SoundIo/Native/libsoundio/SoundIOSampleRateRange.cs @@ -1,5 +1,4 @@ -using System; -namespace SoundIOSharp +namespace SoundIOSharp { public struct SoundIOSampleRateRange { diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/BiquadFilterCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/BiquadFilterCommand.cs index d68f3defc9..e35911b24d 100644 --- a/Ryujinx.Audio/Renderer/Dsp/Command/BiquadFilterCommand.cs +++ b/Ryujinx.Audio/Renderer/Dsp/Command/BiquadFilterCommand.cs @@ -1,7 +1,6 @@ using Ryujinx.Audio.Renderer.Dsp.State; using Ryujinx.Audio.Renderer.Parameter; using System; -using System.Runtime.CompilerServices; namespace Ryujinx.Audio.Renderer.Dsp.Command { diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/CaptureBufferCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/CaptureBufferCommand.cs index e9f7f94315..ab1ea77d96 100644 --- a/Ryujinx.Audio/Renderer/Dsp/Command/CaptureBufferCommand.cs +++ b/Ryujinx.Audio/Renderer/Dsp/Command/CaptureBufferCommand.cs @@ -1,5 +1,4 @@ using Ryujinx.Audio.Renderer.Dsp.State; -using Ryujinx.Audio.Renderer.Parameter; using Ryujinx.Memory; using System; using System.Runtime.CompilerServices; diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/CircularBufferSinkCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/CircularBufferSinkCommand.cs index 95aec99de8..27cd6e8421 100644 --- a/Ryujinx.Audio/Renderer/Dsp/Command/CircularBufferSinkCommand.cs +++ b/Ryujinx.Audio/Renderer/Dsp/Command/CircularBufferSinkCommand.cs @@ -1,6 +1,5 @@ using Ryujinx.Audio.Renderer.Parameter.Sink; using Ryujinx.Audio.Renderer.Server.MemoryPool; -using System; using System.Diagnostics; namespace Ryujinx.Audio.Renderer.Dsp.Command diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/CommandList.cs b/Ryujinx.Audio/Renderer/Dsp/Command/CommandList.cs index e8c3ba24d0..2cbed9c2b3 100644 --- a/Ryujinx.Audio/Renderer/Dsp/Command/CommandList.cs +++ b/Ryujinx.Audio/Renderer/Dsp/Command/CommandList.cs @@ -6,7 +6,6 @@ using Ryujinx.Memory; using System; using System.Buffers; using System.Collections.Generic; -using System.Diagnostics; using System.Runtime.CompilerServices; namespace Ryujinx.Audio.Renderer.Dsp.Command diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/CopyMixBufferCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/CopyMixBufferCommand.cs index 330b63a65c..64c297d11a 100644 --- a/Ryujinx.Audio/Renderer/Dsp/Command/CopyMixBufferCommand.cs +++ b/Ryujinx.Audio/Renderer/Dsp/Command/CopyMixBufferCommand.cs @@ -1,5 +1,3 @@ -using System; - namespace Ryujinx.Audio.Renderer.Dsp.Command { public class CopyMixBufferCommand : ICommand diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/DepopForMixBuffersCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/DepopForMixBuffersCommand.cs index eb446a2b2f..e3a87c1023 100644 --- a/Ryujinx.Audio/Renderer/Dsp/Command/DepopForMixBuffersCommand.cs +++ b/Ryujinx.Audio/Renderer/Dsp/Command/DepopForMixBuffersCommand.cs @@ -1,5 +1,4 @@ using System; -using System.Diagnostics; using System.Runtime.CompilerServices; namespace Ryujinx.Audio.Renderer.Dsp.Command diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion1.cs b/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion1.cs index 98394a09c1..a393c88599 100644 --- a/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion1.cs +++ b/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion1.cs @@ -2,7 +2,6 @@ using Ryujinx.Audio.Renderer.Dsp.State; using Ryujinx.Audio.Renderer.Parameter.Effect; using System; using System.Diagnostics; -using System.Runtime.CompilerServices; namespace Ryujinx.Audio.Renderer.Dsp.Command { diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs b/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs index ebc2eb1b27..ad703de14b 100644 --- a/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs +++ b/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs @@ -3,7 +3,6 @@ using Ryujinx.Audio.Renderer.Parameter; using Ryujinx.Audio.Renderer.Parameter.Effect; using System; using System.Diagnostics; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Ryujinx.Audio.Renderer.Dsp.Command diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs index 0056ac5c53..6df44b3276 100644 --- a/Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs +++ b/Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs @@ -1,6 +1,5 @@ using Ryujinx.Audio.Renderer.Server.Upsampler; using System; -using System.Runtime.CompilerServices; namespace Ryujinx.Audio.Renderer.Dsp.Command { diff --git a/Ryujinx.Audio/Renderer/Server/CommandBuffer.cs b/Ryujinx.Audio/Renderer/Server/CommandBuffer.cs index aa3d979572..3a3a981d78 100644 --- a/Ryujinx.Audio/Renderer/Server/CommandBuffer.cs +++ b/Ryujinx.Audio/Renderer/Server/CommandBuffer.cs @@ -7,7 +7,6 @@ using Ryujinx.Audio.Renderer.Server.Performance; using Ryujinx.Audio.Renderer.Server.Sink; using Ryujinx.Audio.Renderer.Server.Upsampler; using Ryujinx.Audio.Renderer.Server.Voice; -using Ryujinx.Common.Memory; using System; using CpuAddress = System.UInt64; diff --git a/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion4.cs b/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion4.cs index 2385f46f10..c60d8ebcbf 100644 --- a/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion4.cs +++ b/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion4.cs @@ -1,9 +1,5 @@ -using Ryujinx.Audio.Common; using Ryujinx.Audio.Renderer.Dsp.Command; -using Ryujinx.Audio.Renderer.Parameter.Effect; -using System; using System.Diagnostics; -using static Ryujinx.Audio.Renderer.Parameter.VoiceInParameter; namespace Ryujinx.Audio.Renderer.Server { diff --git a/Ryujinx.Ava/Common/ApplicationHelper.cs b/Ryujinx.Ava/Common/ApplicationHelper.cs index 6cbe9d160f..47f4392e8b 100644 --- a/Ryujinx.Ava/Common/ApplicationHelper.cs +++ b/Ryujinx.Ava/Common/ApplicationHelper.cs @@ -24,7 +24,6 @@ using System.Buffers; using System.IO; using System.Threading; using System.Threading.Tasks; -using static LibHac.Fs.ApplicationSaveDataManagement; using Path = System.IO.Path; namespace Ryujinx.Ava.Common diff --git a/Ryujinx.Ava/Input/AvaloniaMouseDriver.cs b/Ryujinx.Ava/Input/AvaloniaMouseDriver.cs index 51fa013065..74c435b5cc 100644 --- a/Ryujinx.Ava/Input/AvaloniaMouseDriver.cs +++ b/Ryujinx.Ava/Input/AvaloniaMouseDriver.cs @@ -1,7 +1,6 @@ using Avalonia; using Avalonia.Controls; using Avalonia.Input; -using Avalonia.Threading; using Ryujinx.Input; using System; using System.Numerics; diff --git a/Ryujinx.Ava/Program.cs b/Ryujinx.Ava/Program.cs index 4a54674768..242246ebee 100644 --- a/Ryujinx.Ava/Program.cs +++ b/Ryujinx.Ava/Program.cs @@ -16,8 +16,6 @@ using Ryujinx.Graphics.Vulkan; using Ryujinx.Modules; using Ryujinx.Ui.Common; using Ryujinx.Ui.Common.Configuration; -using Silk.NET.Vulkan.Extensions.EXT; -using Silk.NET.Vulkan.Extensions.KHR; using System; using System.Collections.Generic; using System.IO; diff --git a/Ryujinx.Ava/Ui/Applet/AvaHostUiHandler.cs b/Ryujinx.Ava/Ui/Applet/AvaHostUiHandler.cs index 133bcc038c..05e92c367c 100644 --- a/Ryujinx.Ava/Ui/Applet/AvaHostUiHandler.cs +++ b/Ryujinx.Ava/Ui/Applet/AvaHostUiHandler.cs @@ -10,7 +10,6 @@ using Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.ApplicationPr using Ryujinx.HLE.Ui; using System; using System.Threading; -using System.Threading.Tasks; namespace Ryujinx.Ava.Ui.Applet { diff --git a/Ryujinx.Ava/Ui/Applet/ErrorAppletWindow.axaml.cs b/Ryujinx.Ava/Ui/Applet/ErrorAppletWindow.axaml.cs index b4acd155c2..ce6345765c 100644 --- a/Ryujinx.Ava/Ui/Applet/ErrorAppletWindow.axaml.cs +++ b/Ryujinx.Ava/Ui/Applet/ErrorAppletWindow.axaml.cs @@ -1,7 +1,6 @@ using Avalonia; using Avalonia.Controls; using Avalonia.Interactivity; -using Avalonia.Markup.Xaml; using Avalonia.Threading; using Ryujinx.Ava.Common.Locale; using Ryujinx.Ava.Ui.Windows; diff --git a/Ryujinx.Ava/Ui/Applet/SwkbdAppletDialog.axaml.cs b/Ryujinx.Ava/Ui/Applet/SwkbdAppletDialog.axaml.cs index d7bb4b74e2..564ee4b295 100644 --- a/Ryujinx.Ava/Ui/Applet/SwkbdAppletDialog.axaml.cs +++ b/Ryujinx.Ava/Ui/Applet/SwkbdAppletDialog.axaml.cs @@ -1,7 +1,6 @@ using Avalonia.Controls; using Avalonia.Input; using Avalonia.Interactivity; -using Avalonia.Markup.Xaml; using Avalonia.Media; using FluentAvalonia.Core; using FluentAvalonia.UI.Controls; diff --git a/Ryujinx.Ava/Ui/Controls/InputDialog.axaml.cs b/Ryujinx.Ava/Ui/Controls/InputDialog.axaml.cs index e4b37decf9..3e78119dfe 100644 --- a/Ryujinx.Ava/Ui/Controls/InputDialog.axaml.cs +++ b/Ryujinx.Ava/Ui/Controls/InputDialog.axaml.cs @@ -1,9 +1,7 @@ using Avalonia.Controls; -using Avalonia.Markup.Xaml; using FluentAvalonia.UI.Controls; using Ryujinx.Ava.Common.Locale; using Ryujinx.Ava.Ui.Models; -using Ryujinx.Ava.Ui.Windows; using System.Threading.Tasks; namespace Ryujinx.Ava.Ui.Controls diff --git a/Ryujinx.Ava/Ui/Controls/UpdateWaitWindow.axaml.cs b/Ryujinx.Ava/Ui/Controls/UpdateWaitWindow.axaml.cs index 19d6f98b50..efea433966 100644 --- a/Ryujinx.Ava/Ui/Controls/UpdateWaitWindow.axaml.cs +++ b/Ryujinx.Ava/Ui/Controls/UpdateWaitWindow.axaml.cs @@ -1,6 +1,4 @@ -using Avalonia; using Avalonia.Controls; -using Avalonia.Markup.Xaml; using Ryujinx.Ava.Ui.Windows; namespace Ryujinx.Ava.Ui.Controls diff --git a/Ryujinx.Ava/Ui/ViewModels/ControllerSettingsViewModel.cs b/Ryujinx.Ava/Ui/ViewModels/ControllerSettingsViewModel.cs index a3abdd3b42..2422a0317e 100644 --- a/Ryujinx.Ava/Ui/ViewModels/ControllerSettingsViewModel.cs +++ b/Ryujinx.Ava/Ui/ViewModels/ControllerSettingsViewModel.cs @@ -3,7 +3,6 @@ using Avalonia.Controls; using Avalonia.Controls.ApplicationLifetimes; using Avalonia.Svg.Skia; using Avalonia.Threading; -using Avalonia.VisualTree; using Ryujinx.Ava.Common.Locale; using Ryujinx.Ava.Input; using Ryujinx.Ava.Ui.Controls; @@ -24,7 +23,6 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; -using System.Reflection; using System.Text.Json; using ConfigGamepadInputId = Ryujinx.Common.Configuration.Hid.Controller.GamepadInputId; using ConfigStickInputId = Ryujinx.Common.Configuration.Hid.Controller.StickInputId; diff --git a/Ryujinx.Ava/Ui/Windows/AboutWindow.axaml.cs b/Ryujinx.Ava/Ui/Windows/AboutWindow.axaml.cs index 90b870aafa..26090e19db 100644 --- a/Ryujinx.Ava/Ui/Windows/AboutWindow.axaml.cs +++ b/Ryujinx.Ava/Ui/Windows/AboutWindow.axaml.cs @@ -1,5 +1,4 @@ -using Avalonia; -using Avalonia.Controls; +using Avalonia.Controls; using Avalonia.Input; using Avalonia.Interactivity; using Avalonia.Threading; diff --git a/Ryujinx.Ava/Ui/Windows/AmiiboWindow.axaml.cs b/Ryujinx.Ava/Ui/Windows/AmiiboWindow.axaml.cs index 9333a40e28..e0efdf4368 100644 --- a/Ryujinx.Ava/Ui/Windows/AmiiboWindow.axaml.cs +++ b/Ryujinx.Ava/Ui/Windows/AmiiboWindow.axaml.cs @@ -1,4 +1,3 @@ -using Avalonia; using Avalonia.Interactivity; using Ryujinx.Ava.Common.Locale; using Ryujinx.Ava.Ui.Models; diff --git a/Ryujinx.Ava/Ui/Windows/CheatWindow.axaml.cs b/Ryujinx.Ava/Ui/Windows/CheatWindow.axaml.cs index 13c2f20a8b..cc8f5d0f86 100644 --- a/Ryujinx.Ava/Ui/Windows/CheatWindow.axaml.cs +++ b/Ryujinx.Ava/Ui/Windows/CheatWindow.axaml.cs @@ -1,11 +1,9 @@ -using Avalonia; -using Avalonia.Collections; +using Avalonia.Collections; using Ryujinx.Ava.Common.Locale; using Ryujinx.Ava.Ui.Models; using Ryujinx.HLE.FileSystem; using Ryujinx.HLE.HOS; using System.Collections.Generic; -using System.Diagnostics; using System.IO; using System.Linq; diff --git a/Ryujinx.Ava/Ui/Windows/MainWindow.axaml.cs b/Ryujinx.Ava/Ui/Windows/MainWindow.axaml.cs index ef22e5c816..6ce1d17d5d 100644 --- a/Ryujinx.Ava/Ui/Windows/MainWindow.axaml.cs +++ b/Ryujinx.Ava/Ui/Windows/MainWindow.axaml.cs @@ -12,7 +12,6 @@ using Ryujinx.Ava.Ui.Applet; using Ryujinx.Ava.Ui.Controls; using Ryujinx.Ava.Ui.Models; using Ryujinx.Ava.Ui.ViewModels; -using Ryujinx.Ava.Ui.Vulkan; using Ryujinx.Common.Configuration; using Ryujinx.Common.Logging; using Ryujinx.Graphics.Gpu; @@ -27,7 +26,6 @@ using Ryujinx.Ui.Common.Configuration; using SixLabors.ImageSharp.PixelFormats; using System; using System.ComponentModel; -using System.Diagnostics; using System.IO; using System.Threading; using System.Threading.Tasks; diff --git a/Ryujinx.Ava/Ui/Windows/TitleUpdateWindow.axaml.cs b/Ryujinx.Ava/Ui/Windows/TitleUpdateWindow.axaml.cs index f1f7850e2d..b4d5d5b5d8 100644 --- a/Ryujinx.Ava/Ui/Windows/TitleUpdateWindow.axaml.cs +++ b/Ryujinx.Ava/Ui/Windows/TitleUpdateWindow.axaml.cs @@ -1,4 +1,3 @@ -using Avalonia; using Avalonia.Collections; using Avalonia.Controls; using Avalonia.Threading; @@ -18,7 +17,6 @@ using Ryujinx.HLE.FileSystem; using Ryujinx.HLE.HOS; using System; using System.Collections.Generic; -using System.Diagnostics; using System.IO; using System.Linq; using System.Text; diff --git a/Ryujinx.Ava/Ui/Windows/UpdaterWindow.axaml.cs b/Ryujinx.Ava/Ui/Windows/UpdaterWindow.axaml.cs index 51c7bff0f1..526ca0bb7f 100644 --- a/Ryujinx.Ava/Ui/Windows/UpdaterWindow.axaml.cs +++ b/Ryujinx.Ava/Ui/Windows/UpdaterWindow.axaml.cs @@ -1,5 +1,3 @@ -using Avalonia; -using Avalonia.Controls; using Ryujinx.Ava.Common.Locale; using Ryujinx.Modules; using System; diff --git a/Ryujinx.Common/Configuration/Hid/Controller/GenericControllerInputConfig.cs b/Ryujinx.Common/Configuration/Hid/Controller/GenericControllerInputConfig.cs index da8ad797bb..d7f0e78813 100644 --- a/Ryujinx.Common/Configuration/Hid/Controller/GenericControllerInputConfig.cs +++ b/Ryujinx.Common/Configuration/Hid/Controller/GenericControllerInputConfig.cs @@ -1,8 +1,6 @@ using Ryujinx.Common.Configuration.Hid.Controller.Motion; using System; -using System.ComponentModel; using System.Text.Json.Serialization; -using NotImplementedException = System.NotImplementedException; namespace Ryujinx.Common.Configuration.Hid.Controller { diff --git a/Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs b/Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs index 5a325d082e..f1bfee8217 100644 --- a/Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs +++ b/Ryujinx.Common/GraphicsDriver/NVAPI/NvdrsProfile.cs @@ -1,5 +1,4 @@ -using System; -using System.Runtime.InteropServices; +using System.Runtime.InteropServices; namespace Ryujinx.Common.GraphicsDriver.NVAPI { diff --git a/Ryujinx.Common/Logging/Targets/ConsoleLogTarget.cs b/Ryujinx.Common/Logging/Targets/ConsoleLogTarget.cs index 54e9e85cf1..7b77c4f28e 100644 --- a/Ryujinx.Common/Logging/Targets/ConsoleLogTarget.cs +++ b/Ryujinx.Common/Logging/Targets/ConsoleLogTarget.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Concurrent; namespace Ryujinx.Common.Logging { diff --git a/Ryujinx.Common/Logging/Targets/FileLogTarget.cs b/Ryujinx.Common/Logging/Targets/FileLogTarget.cs index e83b26cdb3..401fe91bae 100644 --- a/Ryujinx.Common/Logging/Targets/FileLogTarget.cs +++ b/Ryujinx.Common/Logging/Targets/FileLogTarget.cs @@ -1,7 +1,6 @@ using System; using System.IO; using System.Linq; -using System.Reflection; namespace Ryujinx.Common.Logging { diff --git a/Ryujinx.Common/System/ForceDpiAware.cs b/Ryujinx.Common/System/ForceDpiAware.cs index f1aa3e8e81..d40d5f5e65 100644 --- a/Ryujinx.Common/System/ForceDpiAware.cs +++ b/Ryujinx.Common/System/ForceDpiAware.cs @@ -3,7 +3,6 @@ using System; using System.Drawing; using System.Globalization; using System.Runtime.InteropServices; -using System.Runtime.Versioning; namespace Ryujinx.Common.System { diff --git a/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs b/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs index fdc8fb6a71..ed301e021c 100644 --- a/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs +++ b/Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs @@ -1,5 +1,4 @@ using System; -using System.Globalization; using System.Management; using System.Runtime.InteropServices; using System.Runtime.Versioning; diff --git a/Ryujinx.Common/Utilities/BitUtils.cs b/Ryujinx.Common/Utilities/BitUtils.cs index 5c68dc9efe..a42e2cc7d7 100644 --- a/Ryujinx.Common/Utilities/BitUtils.cs +++ b/Ryujinx.Common/Utilities/BitUtils.cs @@ -1,4 +1,3 @@ -using System; using System.Numerics; namespace Ryujinx.Common diff --git a/Ryujinx.Graphics.GAL/HardwareInfo.cs b/Ryujinx.Graphics.GAL/HardwareInfo.cs index 0c247074a0..9baf1924ff 100644 --- a/Ryujinx.Graphics.GAL/HardwareInfo.cs +++ b/Ryujinx.Graphics.GAL/HardwareInfo.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Ryujinx.Graphics.GAL +namespace Ryujinx.Graphics.GAL { public struct HardwareInfo { diff --git a/Ryujinx.Graphics.GAL/IRenderer.cs b/Ryujinx.Graphics.GAL/IRenderer.cs index 8e48738dbd..cf67f648b7 100644 --- a/Ryujinx.Graphics.GAL/IRenderer.cs +++ b/Ryujinx.Graphics.GAL/IRenderer.cs @@ -1,5 +1,4 @@ using Ryujinx.Common.Configuration; -using Ryujinx.Graphics.Shader; using System; namespace Ryujinx.Graphics.GAL diff --git a/Ryujinx.Graphics.GAL/Multithreading/Commands/SetVertexBuffersCommand.cs b/Ryujinx.Graphics.GAL/Multithreading/Commands/SetVertexBuffersCommand.cs index bdaba2c9fd..b7d46d08c5 100644 --- a/Ryujinx.Graphics.GAL/Multithreading/Commands/SetVertexBuffersCommand.cs +++ b/Ryujinx.Graphics.GAL/Multithreading/Commands/SetVertexBuffersCommand.cs @@ -1,6 +1,5 @@ using Ryujinx.Graphics.GAL.Multithreading.Model; using System; -using System.Buffers; namespace Ryujinx.Graphics.GAL.Multithreading.Commands { diff --git a/Ryujinx.Graphics.GAL/Multithreading/Commands/SetViewportsCommand.cs b/Ryujinx.Graphics.GAL/Multithreading/Commands/SetViewportsCommand.cs index 61861f4d7e..e1b8c7d4f7 100644 --- a/Ryujinx.Graphics.GAL/Multithreading/Commands/SetViewportsCommand.cs +++ b/Ryujinx.Graphics.GAL/Multithreading/Commands/SetViewportsCommand.cs @@ -1,6 +1,5 @@ using Ryujinx.Graphics.GAL.Multithreading.Model; using System; -using System.Buffers; namespace Ryujinx.Graphics.GAL.Multithreading.Commands { diff --git a/Ryujinx.Graphics.GAL/Multithreading/Commands/UpdateRenderScaleCommand.cs b/Ryujinx.Graphics.GAL/Multithreading/Commands/UpdateRenderScaleCommand.cs index 7e1e66b202..ca869b01e2 100644 --- a/Ryujinx.Graphics.GAL/Multithreading/Commands/UpdateRenderScaleCommand.cs +++ b/Ryujinx.Graphics.GAL/Multithreading/Commands/UpdateRenderScaleCommand.cs @@ -1,5 +1,4 @@ using Ryujinx.Graphics.GAL.Multithreading.Model; -using Ryujinx.Graphics.Shader; namespace Ryujinx.Graphics.GAL.Multithreading.Commands { diff --git a/Ryujinx.Graphics.GAL/Multithreading/Resources/Programs/SourceProgramRequest.cs b/Ryujinx.Graphics.GAL/Multithreading/Resources/Programs/SourceProgramRequest.cs index 7c5f036314..ff06abb124 100644 --- a/Ryujinx.Graphics.GAL/Multithreading/Resources/Programs/SourceProgramRequest.cs +++ b/Ryujinx.Graphics.GAL/Multithreading/Resources/Programs/SourceProgramRequest.cs @@ -1,6 +1,4 @@ -using System.Linq; - -namespace Ryujinx.Graphics.GAL.Multithreading.Resources.Programs +namespace Ryujinx.Graphics.GAL.Multithreading.Resources.Programs { class SourceProgramRequest : IProgramRequest { diff --git a/Ryujinx.Graphics.Gpu/Engine/MME/Macro.cs b/Ryujinx.Graphics.Gpu/Engine/MME/Macro.cs index 9d1dbc8fad..1d054969a1 100644 --- a/Ryujinx.Graphics.Gpu/Engine/MME/Macro.cs +++ b/Ryujinx.Graphics.Gpu/Engine/MME/Macro.cs @@ -1,6 +1,5 @@ using Ryujinx.Graphics.Device; using Ryujinx.Graphics.Gpu.Engine.GPFifo; -using Ryujinx.Graphics.Gpu.Memory; using System; namespace Ryujinx.Graphics.Gpu.Engine.MME diff --git a/Ryujinx.Graphics.Gpu/Engine/Threed/DrawManager.cs b/Ryujinx.Graphics.Gpu/Engine/Threed/DrawManager.cs index 0791feefca..e02c8cdc6b 100644 --- a/Ryujinx.Graphics.Gpu/Engine/Threed/DrawManager.cs +++ b/Ryujinx.Graphics.Gpu/Engine/Threed/DrawManager.cs @@ -1,7 +1,6 @@ using Ryujinx.Graphics.GAL; using Ryujinx.Graphics.Gpu.Engine.Types; using System; -using System.Text; namespace Ryujinx.Graphics.Gpu.Engine.Threed { diff --git a/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs b/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs index 7bee844eca..277f39b985 100644 --- a/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs +++ b/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs @@ -1,4 +1,3 @@ -using Ryujinx.Common.Logging; using System.Collections; using System.Collections.Generic; diff --git a/Ryujinx.Graphics.Gpu/Image/TextureCache.cs b/Ryujinx.Graphics.Gpu/Image/TextureCache.cs index dfa44afec2..dcac9f643b 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureCache.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureCache.cs @@ -1,10 +1,8 @@ using Ryujinx.Common; using Ryujinx.Graphics.GAL; -using Ryujinx.Graphics.Gpu.Engine.Dma; using Ryujinx.Graphics.Gpu.Engine.Threed; using Ryujinx.Graphics.Gpu.Engine.Twod; using Ryujinx.Graphics.Gpu.Engine.Types; -using Ryujinx.Graphics.Gpu.Image; using Ryujinx.Graphics.Gpu.Memory; using Ryujinx.Graphics.Texture; using Ryujinx.Memory.Range; diff --git a/Ryujinx.Graphics.Gpu/Memory/Buffer.cs b/Ryujinx.Graphics.Gpu/Memory/Buffer.cs index 81f7068417..1e49f6bfa7 100644 --- a/Ryujinx.Graphics.Gpu/Memory/Buffer.cs +++ b/Ryujinx.Graphics.Gpu/Memory/Buffer.cs @@ -1,4 +1,3 @@ -using Ryujinx.Common.Logging; using Ryujinx.Cpu.Tracking; using Ryujinx.Graphics.GAL; using Ryujinx.Memory.Range; diff --git a/Ryujinx.Graphics.Gpu/Shader/DiskCache/GuestCodeAndCbData.cs b/Ryujinx.Graphics.Gpu/Shader/DiskCache/GuestCodeAndCbData.cs index b1ac819e6c..0096533d41 100644 --- a/Ryujinx.Graphics.Gpu/Shader/DiskCache/GuestCodeAndCbData.cs +++ b/Ryujinx.Graphics.Gpu/Shader/DiskCache/GuestCodeAndCbData.cs @@ -1,5 +1,3 @@ -using Ryujinx.Graphics.Shader; - namespace Ryujinx.Graphics.Gpu.Shader.DiskCache { /// diff --git a/Ryujinx.Graphics.Gpu/Shader/HashTable/PartitionHashTable.cs b/Ryujinx.Graphics.Gpu/Shader/HashTable/PartitionHashTable.cs index 6a563c16fe..9b5e8013eb 100644 --- a/Ryujinx.Graphics.Gpu/Shader/HashTable/PartitionHashTable.cs +++ b/Ryujinx.Graphics.Gpu/Shader/HashTable/PartitionHashTable.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Numerics; namespace Ryujinx.Graphics.Gpu.Shader.HashTable diff --git a/Ryujinx.Graphics.Gpu/Shader/ShaderDumper.cs b/Ryujinx.Graphics.Gpu/Shader/ShaderDumper.cs index 8247bbfb5b..93eeb8d723 100644 --- a/Ryujinx.Graphics.Gpu/Shader/ShaderDumper.cs +++ b/Ryujinx.Graphics.Gpu/Shader/ShaderDumper.cs @@ -1,4 +1,3 @@ -using Ryujinx.Graphics.Shader; using System.IO; namespace Ryujinx.Graphics.Gpu.Shader diff --git a/Ryujinx.Graphics.Nvdec.Vp9/Dsp/Convolve.cs b/Ryujinx.Graphics.Nvdec.Vp9/Dsp/Convolve.cs index 1a2969af44..d49a6bf63f 100644 --- a/Ryujinx.Graphics.Nvdec.Vp9/Dsp/Convolve.cs +++ b/Ryujinx.Graphics.Nvdec.Vp9/Dsp/Convolve.cs @@ -2,7 +2,6 @@ using Ryujinx.Graphics.Nvdec.Vp9.Common; using System.Diagnostics; using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; using System.Runtime.Intrinsics; using System.Runtime.Intrinsics.X86; using static Ryujinx.Graphics.Nvdec.Vp9.Dsp.Filter; diff --git a/Ryujinx.Graphics.OpenGL/Window.cs b/Ryujinx.Graphics.OpenGL/Window.cs index f67c6a7249..edebf1a090 100644 --- a/Ryujinx.Graphics.OpenGL/Window.cs +++ b/Ryujinx.Graphics.OpenGL/Window.cs @@ -1,6 +1,5 @@ using OpenTK.Graphics.OpenGL; using Ryujinx.Graphics.GAL; -using Ryujinx.Graphics.OpenGL.Helper; using Ryujinx.Graphics.OpenGL.Image; using System; diff --git a/Ryujinx.Graphics.Shader/CodeGen/Spirv/CodeGenContext.cs b/Ryujinx.Graphics.Shader/CodeGen/Spirv/CodeGenContext.cs index eeae457680..d70a00edce 100644 --- a/Ryujinx.Graphics.Shader/CodeGen/Spirv/CodeGenContext.cs +++ b/Ryujinx.Graphics.Shader/CodeGen/Spirv/CodeGenContext.cs @@ -3,7 +3,6 @@ using Ryujinx.Graphics.Shader.Translation; using Spv.Generator; using System; using System.Collections.Generic; -using System.Linq; using static Spv.Specification; namespace Ryujinx.Graphics.Shader.CodeGen.Spirv diff --git a/Ryujinx.Graphics.Shader/Translation/Translator.cs b/Ryujinx.Graphics.Shader/Translation/Translator.cs index 7bddf45900..8657c0f7d4 100644 --- a/Ryujinx.Graphics.Shader/Translation/Translator.cs +++ b/Ryujinx.Graphics.Shader/Translation/Translator.cs @@ -6,8 +6,6 @@ using Ryujinx.Graphics.Shader.StructuredIr; using Ryujinx.Graphics.Shader.Translation.Optimizations; using System; using System.Linq; -using System.Numerics; - using static Ryujinx.Graphics.Shader.IntermediateRepresentation.OperandHelper; namespace Ryujinx.Graphics.Shader.Translation diff --git a/Ryujinx.Graphics.Texture/Size.cs b/Ryujinx.Graphics.Texture/Size.cs index 4e070c9088..35611b987a 100644 --- a/Ryujinx.Graphics.Texture/Size.cs +++ b/Ryujinx.Graphics.Texture/Size.cs @@ -1,6 +1,3 @@ -using Ryujinx.Common; -using System; - namespace Ryujinx.Graphics.Texture { public struct Size diff --git a/Ryujinx.Graphics.Vulkan/Shaders/ShaderBinaries.cs b/Ryujinx.Graphics.Vulkan/Shaders/ShaderBinaries.cs index b21407c3c3..03c6b65217 100644 --- a/Ryujinx.Graphics.Vulkan/Shaders/ShaderBinaries.cs +++ b/Ryujinx.Graphics.Vulkan/Shaders/ShaderBinaries.cs @@ -1,5 +1,3 @@ -using System; - namespace Ryujinx.Graphics.Vulkan.Shaders { static class ShaderBinaries diff --git a/Ryujinx.Graphics.Vulkan/TextureView.cs b/Ryujinx.Graphics.Vulkan/TextureView.cs index 85cc323420..bb79b09c64 100644 --- a/Ryujinx.Graphics.Vulkan/TextureView.cs +++ b/Ryujinx.Graphics.Vulkan/TextureView.cs @@ -1,5 +1,4 @@ -using Ryujinx.Common; -using Ryujinx.Graphics.GAL; +using Ryujinx.Graphics.GAL; using Silk.NET.Vulkan; using System; using System.Collections.Generic; diff --git a/Ryujinx.HLE/HOS/Applets/Browser/BrowserApplet.cs b/Ryujinx.HLE/HOS/Applets/Browser/BrowserApplet.cs index 62aa594008..2d5509ff8d 100644 --- a/Ryujinx.HLE/HOS/Applets/Browser/BrowserApplet.cs +++ b/Ryujinx.HLE/HOS/Applets/Browser/BrowserApplet.cs @@ -4,8 +4,6 @@ using Ryujinx.HLE.HOS.Services.Am.AppletAE; using System; using System.Collections.Generic; using System.IO; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; namespace Ryujinx.HLE.HOS.Applets.Browser { diff --git a/Ryujinx.HLE/HOS/Applets/Error/ApplicationErrorArg.cs b/Ryujinx.HLE/HOS/Applets/Error/ApplicationErrorArg.cs index 2763253b6c..f40d541128 100644 --- a/Ryujinx.HLE/HOS/Applets/Error/ApplicationErrorArg.cs +++ b/Ryujinx.HLE/HOS/Applets/Error/ApplicationErrorArg.cs @@ -1,5 +1,4 @@ using Ryujinx.Common.Memory; -using System; using System.Runtime.InteropServices; namespace Ryujinx.HLE.HOS.Applets.Error diff --git a/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/KeyboardInputMode.cs b/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/KeyboardInputMode.cs index 681b9208a1..925d52f6fb 100644 --- a/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/KeyboardInputMode.cs +++ b/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/KeyboardInputMode.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard +namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard { /// /// Active input options set by the keyboard applet. These options allow keyboard diff --git a/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/KeyboardResult.cs b/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/KeyboardResult.cs index de112f5482..4f570d3f38 100644 --- a/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/KeyboardResult.cs +++ b/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/KeyboardResult.cs @@ -1,6 +1,4 @@ -using System; - -namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard +namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard { /// /// The intention of the user when they finish the interaction with the keyboard. diff --git a/Ryujinx.HLE/HOS/ApplicationLoader.cs b/Ryujinx.HLE/HOS/ApplicationLoader.cs index ea05d2bbed..41d487eb10 100644 --- a/Ryujinx.HLE/HOS/ApplicationLoader.cs +++ b/Ryujinx.HLE/HOS/ApplicationLoader.cs @@ -25,8 +25,6 @@ using System.IO; using System.Linq; using System.Reflection; using System.Text; - -using static LibHac.Fs.ApplicationSaveDataManagement; using static Ryujinx.HLE.HOS.ModLoader; using ApplicationId = LibHac.Ncm.ApplicationId; using Path = System.IO.Path; diff --git a/Ryujinx.HLE/HOS/Kernel/Common/MersenneTwister.cs b/Ryujinx.HLE/HOS/Kernel/Common/MersenneTwister.cs index 8b4c2dda41..4c99f4251d 100644 --- a/Ryujinx.HLE/HOS/Kernel/Common/MersenneTwister.cs +++ b/Ryujinx.HLE/HOS/Kernel/Common/MersenneTwister.cs @@ -1,4 +1,3 @@ -using Ryujinx.Common; using System.Numerics; namespace Ryujinx.HLE.HOS.Kernel.Common diff --git a/Ryujinx.HLE/HOS/Kernel/Ipc/KClientPort.cs b/Ryujinx.HLE/HOS/Kernel/Ipc/KClientPort.cs index 3f34793fcb..6e935077f6 100644 --- a/Ryujinx.HLE/HOS/Kernel/Ipc/KClientPort.cs +++ b/Ryujinx.HLE/HOS/Kernel/Ipc/KClientPort.cs @@ -1,6 +1,5 @@ using Ryujinx.HLE.HOS.Kernel.Common; using Ryujinx.HLE.HOS.Kernel.Process; -using Ryujinx.HLE.HOS.Services; using System.Threading; namespace Ryujinx.HLE.HOS.Kernel.Ipc diff --git a/Ryujinx.HLE/HOS/Kernel/Ipc/KClientSession.cs b/Ryujinx.HLE/HOS/Kernel/Ipc/KClientSession.cs index a243a64579..7bbc3ba2cb 100644 --- a/Ryujinx.HLE/HOS/Kernel/Ipc/KClientSession.cs +++ b/Ryujinx.HLE/HOS/Kernel/Ipc/KClientSession.cs @@ -1,8 +1,6 @@ using Ryujinx.HLE.HOS.Kernel.Common; using Ryujinx.HLE.HOS.Kernel.Process; using Ryujinx.HLE.HOS.Kernel.Threading; -using Ryujinx.HLE.HOS.Services; -using System; namespace Ryujinx.HLE.HOS.Kernel.Ipc { diff --git a/Ryujinx.HLE/HOS/Kernel/Process/KContextIdManager.cs b/Ryujinx.HLE/HOS/Kernel/Process/KContextIdManager.cs index ed57ae0472..104fe578a2 100644 --- a/Ryujinx.HLE/HOS/Kernel/Process/KContextIdManager.cs +++ b/Ryujinx.HLE/HOS/Kernel/Process/KContextIdManager.cs @@ -1,4 +1,3 @@ -using Ryujinx.Common; using System; using System.Numerics; diff --git a/Ryujinx.HLE/HOS/Kernel/Process/KProcessCapabilities.cs b/Ryujinx.HLE/HOS/Kernel/Process/KProcessCapabilities.cs index 7fb98017cb..a08c4b263e 100644 --- a/Ryujinx.HLE/HOS/Kernel/Process/KProcessCapabilities.cs +++ b/Ryujinx.HLE/HOS/Kernel/Process/KProcessCapabilities.cs @@ -1,4 +1,3 @@ -using Ryujinx.Common; using Ryujinx.HLE.HOS.Kernel.Common; using Ryujinx.HLE.HOS.Kernel.Memory; using Ryujinx.HLE.HOS.Kernel.Threading; diff --git a/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ILibraryAppletCreator.cs b/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ILibraryAppletCreator.cs index cb81e21bc0..8860f007c7 100644 --- a/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ILibraryAppletCreator.cs +++ b/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ILibraryAppletCreator.cs @@ -1,4 +1,3 @@ -using Ryujinx.Common.Logging; using Ryujinx.HLE.HOS.Kernel.Memory; using Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.LibraryAppletCreator; diff --git a/Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/ApplicationProxy/IApplicationFunctions.cs b/Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/ApplicationProxy/IApplicationFunctions.cs index 957fb9a16b..f89827d32f 100644 --- a/Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/ApplicationProxy/IApplicationFunctions.cs +++ b/Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/ApplicationProxy/IApplicationFunctions.cs @@ -19,8 +19,6 @@ using Ryujinx.HLE.HOS.SystemState; using System; using System.Numerics; using System.Threading; - -using static LibHac.Fs.ApplicationSaveDataManagement; using AccountUid = Ryujinx.HLE.HOS.Services.Account.Acc.UserId; using ApplicationId = LibHac.Ncm.ApplicationId; diff --git a/Ryujinx.HLE/HOS/Services/Audio/Types/OpusPacketHeader.cs b/Ryujinx.HLE/HOS/Services/Audio/Types/OpusPacketHeader.cs index 3d63029484..5ae0eb1e45 100644 --- a/Ryujinx.HLE/HOS/Services/Audio/Types/OpusPacketHeader.cs +++ b/Ryujinx.HLE/HOS/Services/Audio/Types/OpusPacketHeader.cs @@ -1,7 +1,5 @@ -using Ryujinx.Common; -using System; +using System; using System.Buffers.Binary; -using System.IO; using System.Runtime.InteropServices; namespace Ryujinx.HLE.HOS.Services.Audio.Types diff --git a/Ryujinx.HLE/HOS/Services/Bcat/ServiceCreator/IDeliveryCacheProgressService.cs b/Ryujinx.HLE/HOS/Services/Bcat/ServiceCreator/IDeliveryCacheProgressService.cs index 61b1f1a18f..3e516d83ee 100644 --- a/Ryujinx.HLE/HOS/Services/Bcat/ServiceCreator/IDeliveryCacheProgressService.cs +++ b/Ryujinx.HLE/HOS/Services/Bcat/ServiceCreator/IDeliveryCacheProgressService.cs @@ -1,12 +1,10 @@ -using Ryujinx.Common; -using Ryujinx.Common.Logging; +using Ryujinx.Common.Logging; using Ryujinx.Cpu; using Ryujinx.HLE.HOS.Ipc; using Ryujinx.HLE.HOS.Kernel.Common; using Ryujinx.HLE.HOS.Kernel.Threading; using Ryujinx.HLE.HOS.Services.Bcat.ServiceCreator.Types; using System; -using System.IO; namespace Ryujinx.HLE.HOS.Services.Bcat.ServiceCreator { diff --git a/Ryujinx.HLE/HOS/Services/Hid/HidDevices/BaseDevice.cs b/Ryujinx.HLE/HOS/Services/Hid/HidDevices/BaseDevice.cs index e8bf628a21..0e3cd18a0d 100644 --- a/Ryujinx.HLE/HOS/Services/Hid/HidDevices/BaseDevice.cs +++ b/Ryujinx.HLE/HOS/Services/Hid/HidDevices/BaseDevice.cs @@ -1,5 +1,3 @@ -using static Ryujinx.HLE.HOS.Services.Hid.Hid; - namespace Ryujinx.HLE.HOS.Services.Hid { public abstract class BaseDevice diff --git a/Ryujinx.HLE/HOS/Services/Ngct/IService.cs b/Ryujinx.HLE/HOS/Services/Ngct/IService.cs index 4499aac8d6..05e37db0f3 100644 --- a/Ryujinx.HLE/HOS/Services/Ngct/IService.cs +++ b/Ryujinx.HLE/HOS/Services/Ngct/IService.cs @@ -1,6 +1,4 @@ -using System.Text; - -namespace Ryujinx.HLE.HOS.Services.Ngct +namespace Ryujinx.HLE.HOS.Services.Ngct { [Service("ngct:u")] // 9.0.0+ class IService : IpcService diff --git a/Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvDeviceFile.cs b/Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvDeviceFile.cs index 0ecbab3ff0..9568fc84fe 100644 --- a/Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvDeviceFile.cs +++ b/Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvDeviceFile.cs @@ -1,5 +1,4 @@ using Ryujinx.Common.Logging; -using Ryujinx.HLE.HOS.Kernel.Memory; using System; using System.Diagnostics; using System.Reflection; diff --git a/Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvHostCtrl/NvHostCtrlDeviceFile.cs b/Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvHostCtrl/NvHostCtrlDeviceFile.cs index 2149e26676..f130c45585 100644 --- a/Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvHostCtrl/NvHostCtrlDeviceFile.cs +++ b/Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvHostCtrl/NvHostCtrlDeviceFile.cs @@ -1,7 +1,5 @@ using Ryujinx.Common.Logging; using Ryujinx.Graphics.Gpu.Synchronization; -using Ryujinx.HLE.HOS.Kernel.Common; -using Ryujinx.HLE.HOS.Kernel.Threading; using Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvHostCtrl.Types; using Ryujinx.HLE.HOS.Services.Nv.Types; using Ryujinx.HLE.HOS.Services.Settings; diff --git a/Ryujinx.HLE/HOS/Services/ServerBase.cs b/Ryujinx.HLE/HOS/Services/ServerBase.cs index c13ee1863c..3c53abecac 100644 --- a/Ryujinx.HLE/HOS/Services/ServerBase.cs +++ b/Ryujinx.HLE/HOS/Services/ServerBase.cs @@ -1,4 +1,3 @@ -using Ryujinx.Common.Logging; using Ryujinx.HLE.HOS.Ipc; using Ryujinx.HLE.HOS.Kernel; using Ryujinx.HLE.HOS.Kernel.Common; diff --git a/Ryujinx.HLE/HOS/Services/Sockets/Bsd/Types/PollEventData.cs b/Ryujinx.HLE/HOS/Services/Sockets/Bsd/Types/PollEventData.cs index ee400e6956..df084ff4ab 100644 --- a/Ryujinx.HLE/HOS/Services/Sockets/Bsd/Types/PollEventData.cs +++ b/Ryujinx.HLE/HOS/Services/Sockets/Bsd/Types/PollEventData.cs @@ -1,6 +1,4 @@ -using System; - -namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd +namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd { struct PollEventData { diff --git a/Ryujinx.HLE/HOS/Services/Sockets/Nsd/IManager.cs b/Ryujinx.HLE/HOS/Services/Sockets/Nsd/IManager.cs index 647fb395ab..14bdd476ca 100644 --- a/Ryujinx.HLE/HOS/Services/Sockets/Nsd/IManager.cs +++ b/Ryujinx.HLE/HOS/Services/Sockets/Nsd/IManager.cs @@ -4,7 +4,6 @@ using Ryujinx.HLE.Exceptions; using Ryujinx.HLE.HOS.Services.Settings; using Ryujinx.HLE.HOS.Services.Sockets.Nsd.Manager; using Ryujinx.HLE.HOS.Services.Sockets.Nsd.Types; -using System.Runtime.InteropServices; using System.Text; namespace Ryujinx.HLE.HOS.Services.Sockets.Nsd diff --git a/Ryujinx.HLE/HOS/Services/Sockets/Sfdnsres/IResolver.cs b/Ryujinx.HLE/HOS/Services/Sockets/Sfdnsres/IResolver.cs index 14a6d699fb..dd45e9ea6e 100644 --- a/Ryujinx.HLE/HOS/Services/Sockets/Sfdnsres/IResolver.cs +++ b/Ryujinx.HLE/HOS/Services/Sockets/Sfdnsres/IResolver.cs @@ -1,5 +1,4 @@ using Ryujinx.Common.Logging; -using Ryujinx.Common.Memory; using Ryujinx.Cpu; using Ryujinx.HLE.HOS.Services.Sockets.Nsd.Manager; using Ryujinx.HLE.HOS.Services.Sockets.Sfdnsres.Proxy; @@ -11,7 +10,6 @@ using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; diff --git a/Ryujinx.HLE/HOS/Services/Ssl/ISslService.cs b/Ryujinx.HLE/HOS/Services/Ssl/ISslService.cs index 90814cf99d..d397ef5b07 100644 --- a/Ryujinx.HLE/HOS/Services/Ssl/ISslService.cs +++ b/Ryujinx.HLE/HOS/Services/Ssl/ISslService.cs @@ -1,5 +1,4 @@ using Ryujinx.Common.Logging; -using Ryujinx.HLE.Exceptions; using Ryujinx.HLE.HOS.Services.Ssl.SslService; using Ryujinx.HLE.HOS.Services.Ssl.Types; using Ryujinx.Memory; diff --git a/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnectionBase.cs b/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnectionBase.cs index 74e5fcdae2..18e03e49d4 100644 --- a/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnectionBase.cs +++ b/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnectionBase.cs @@ -1,6 +1,5 @@ using Ryujinx.HLE.HOS.Services.Sockets.Bsd; using System; -using System.Net.Sockets; namespace Ryujinx.HLE.HOS.Services.Ssl.SslService { diff --git a/Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/GraphicBuffer.cs b/Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/GraphicBuffer.cs index bd76922616..d1143225e8 100644 --- a/Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/GraphicBuffer.cs +++ b/Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/GraphicBuffer.cs @@ -1,4 +1,3 @@ -using Ryujinx.HLE.HOS.Kernel.Process; using Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvMap; using System; using System.Runtime.CompilerServices; diff --git a/Ryujinx.HLE/HOS/Services/Time/Clock/SystemClockContextUpdateCallback.cs b/Ryujinx.HLE/HOS/Services/Time/Clock/SystemClockContextUpdateCallback.cs index 629d8ee114..6229f5edd9 100644 --- a/Ryujinx.HLE/HOS/Services/Time/Clock/SystemClockContextUpdateCallback.cs +++ b/Ryujinx.HLE/HOS/Services/Time/Clock/SystemClockContextUpdateCallback.cs @@ -1,5 +1,4 @@ using Ryujinx.HLE.HOS.Kernel.Threading; -using System; using System.Collections.Generic; using System.Threading; diff --git a/Ryujinx.HLE/HOS/Services/Time/StaticService/ITimeZoneServiceForPsc.cs b/Ryujinx.HLE/HOS/Services/Time/StaticService/ITimeZoneServiceForPsc.cs index 24032999b6..e006c829e3 100644 --- a/Ryujinx.HLE/HOS/Services/Time/StaticService/ITimeZoneServiceForPsc.cs +++ b/Ryujinx.HLE/HOS/Services/Time/StaticService/ITimeZoneServiceForPsc.cs @@ -1,6 +1,5 @@ using Ryujinx.Common; using Ryujinx.Common.Logging; -using Ryujinx.Cpu; using Ryujinx.HLE.HOS.Services.Time.Clock; using Ryujinx.HLE.HOS.Services.Time.TimeZone; using Ryujinx.HLE.Utilities; diff --git a/Ryujinx.HLE/HOS/Tamper/CodeType.cs b/Ryujinx.HLE/HOS/Tamper/CodeType.cs index fd5d0d41bf..7c4f228601 100644 --- a/Ryujinx.HLE/HOS/Tamper/CodeType.cs +++ b/Ryujinx.HLE/HOS/Tamper/CodeType.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Ryujinx.HLE.HOS.Tamper +namespace Ryujinx.HLE.HOS.Tamper { /// /// The opcodes specified for the Atmosphere Cheat VM. diff --git a/Ryujinx.HLE/HOS/Tamper/Comparison.cs b/Ryujinx.HLE/HOS/Tamper/Comparison.cs index 46be2088fd..cd162b1cea 100644 --- a/Ryujinx.HLE/HOS/Tamper/Comparison.cs +++ b/Ryujinx.HLE/HOS/Tamper/Comparison.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Ryujinx.HLE.HOS.Tamper +namespace Ryujinx.HLE.HOS.Tamper { /// /// The comparisons used by conditional operations. diff --git a/Ryujinx.HLE/HOS/Tamper/CompilationContext.cs b/Ryujinx.HLE/HOS/Tamper/CompilationContext.cs index 2dd4029a9b..45a47f4459 100644 --- a/Ryujinx.HLE/HOS/Tamper/CompilationContext.cs +++ b/Ryujinx.HLE/HOS/Tamper/CompilationContext.cs @@ -1,9 +1,5 @@ using Ryujinx.HLE.HOS.Tamper.Operations; -using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Ryujinx.HLE.HOS.Tamper { diff --git a/Ryujinx.HLE/HOS/Tamper/MemoryRegion.cs b/Ryujinx.HLE/HOS/Tamper/MemoryRegion.cs index fb4b25ff13..766e3eedb4 100644 --- a/Ryujinx.HLE/HOS/Tamper/MemoryRegion.cs +++ b/Ryujinx.HLE/HOS/Tamper/MemoryRegion.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Ryujinx.HLE.HOS.Tamper +namespace Ryujinx.HLE.HOS.Tamper { /// /// The regions in the virtual address space of the process that are used as base address of memory operations. diff --git a/Ryujinx.HLE/HOS/Tamper/Operations/ForBlock.cs b/Ryujinx.HLE/HOS/Tamper/Operations/ForBlock.cs index a478991bf0..ef95fa2bf1 100644 --- a/Ryujinx.HLE/HOS/Tamper/Operations/ForBlock.cs +++ b/Ryujinx.HLE/HOS/Tamper/Operations/ForBlock.cs @@ -1,4 +1,3 @@ -using Ryujinx.HLE.HOS.Tamper.Conditions; using System.Collections.Generic; namespace Ryujinx.HLE.HOS.Tamper.Operations diff --git a/Ryujinx.HLE/HOS/TamperMachine.cs b/Ryujinx.HLE/HOS/TamperMachine.cs index c6f8bf9735..596fc3ce86 100644 --- a/Ryujinx.HLE/HOS/TamperMachine.cs +++ b/Ryujinx.HLE/HOS/TamperMachine.cs @@ -1,5 +1,4 @@ using Ryujinx.Common.Logging; -using Ryujinx.HLE.Exceptions; using Ryujinx.HLE.HOS.Kernel; using Ryujinx.HLE.HOS.Kernel.Process; using Ryujinx.HLE.HOS.Services.Hid; diff --git a/Ryujinx.HLE/Ui/Input/NpadReader.cs b/Ryujinx.HLE/Ui/Input/NpadReader.cs index bc3fb396c8..a0d78d03af 100644 --- a/Ryujinx.HLE/Ui/Input/NpadReader.cs +++ b/Ryujinx.HLE/Ui/Input/NpadReader.cs @@ -1,6 +1,5 @@ using Ryujinx.HLE.HOS.Services.Hid.Types.SharedMemory.Common; using Ryujinx.HLE.HOS.Services.Hid.Types.SharedMemory.Npad; -using System; namespace Ryujinx.HLE.Ui.Input { diff --git a/Ryujinx.Headless.SDL2/SDL2MouseDriver.cs b/Ryujinx.Headless.SDL2/SDL2MouseDriver.cs index 24f8e86401..236d476989 100644 --- a/Ryujinx.Headless.SDL2/SDL2MouseDriver.cs +++ b/Ryujinx.Headless.SDL2/SDL2MouseDriver.cs @@ -1,5 +1,4 @@ -using Ryujinx.Common.Logging; -using Ryujinx.Input; +using Ryujinx.Input; using System; using System.Diagnostics; using System.Drawing; diff --git a/Ryujinx.Headless.SDL2/Vulkan/VulkanWindow.cs b/Ryujinx.Headless.SDL2/Vulkan/VulkanWindow.cs index d8eafba43b..9ec1dc63bf 100644 --- a/Ryujinx.Headless.SDL2/Vulkan/VulkanWindow.cs +++ b/Ryujinx.Headless.SDL2/Vulkan/VulkanWindow.cs @@ -3,7 +3,6 @@ using Ryujinx.Common.Logging; using Ryujinx.Input.HLE; using System; using System.Runtime.InteropServices; -using System.Text; using static SDL2.SDL; namespace Ryujinx.Headless.SDL2.Vulkan diff --git a/Ryujinx.Input/HLE/NpadController.cs b/Ryujinx.Input/HLE/NpadController.cs index 6706ad0b6a..46c0fc33ae 100644 --- a/Ryujinx.Input/HLE/NpadController.cs +++ b/Ryujinx.Input/HLE/NpadController.cs @@ -5,7 +5,6 @@ using Ryujinx.Common.Configuration.Hid.Controller.Motion; using Ryujinx.Common.Logging; using Ryujinx.HLE.HOS.Services.Hid; using System; -using System.Collections.Generic; using System.Collections.Concurrent; using System.Numerics; using System.Runtime.CompilerServices; diff --git a/Ryujinx.Input/HLE/NpadManager.cs b/Ryujinx.Input/HLE/NpadManager.cs index a0d2e513f0..b2269d5c49 100644 --- a/Ryujinx.Input/HLE/NpadManager.cs +++ b/Ryujinx.Input/HLE/NpadManager.cs @@ -1,10 +1,8 @@ using Ryujinx.Common.Configuration.Hid; using Ryujinx.Common.Configuration.Hid.Controller; -using Ryujinx.Common.Configuration.Hid.Controller.Motion; using Ryujinx.Common.Configuration.Hid.Keyboard; using Ryujinx.HLE.HOS.Services.Hid; using System; -using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices; diff --git a/Ryujinx.Memory/Tracking/MemoryTracking.cs b/Ryujinx.Memory/Tracking/MemoryTracking.cs index ec75e3d0e4..f2ac17ff96 100644 --- a/Ryujinx.Memory/Tracking/MemoryTracking.cs +++ b/Ryujinx.Memory/Tracking/MemoryTracking.cs @@ -1,6 +1,5 @@ using Ryujinx.Common.Pools; using Ryujinx.Memory.Range; -using System; using System.Collections.Generic; namespace Ryujinx.Memory.Tracking diff --git a/Ryujinx.Tests.Unicorn/Native/Arm32Register.cs b/Ryujinx.Tests.Unicorn/Native/Arm32Register.cs index f34b42a917..419f8e4d9a 100644 --- a/Ryujinx.Tests.Unicorn/Native/Arm32Register.cs +++ b/Ryujinx.Tests.Unicorn/Native/Arm32Register.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Ryujinx.Tests.Unicorn.Native +namespace Ryujinx.Tests.Unicorn.Native { public enum Arm32Register { diff --git a/Ryujinx.Tests/Cpu/CpuTestAlu32.cs b/Ryujinx.Tests/Cpu/CpuTestAlu32.cs index 170bf98bd2..f04aa22e7d 100644 --- a/Ryujinx.Tests/Cpu/CpuTestAlu32.cs +++ b/Ryujinx.Tests/Cpu/CpuTestAlu32.cs @@ -1,7 +1,6 @@ #define Alu32 using NUnit.Framework; -using System; namespace Ryujinx.Tests.Cpu { diff --git a/Ryujinx.Tests/Cpu/CpuTestAluBinary32.cs b/Ryujinx.Tests/Cpu/CpuTestAluBinary32.cs index 0a0302c269..c402c4baa0 100644 --- a/Ryujinx.Tests/Cpu/CpuTestAluBinary32.cs +++ b/Ryujinx.Tests/Cpu/CpuTestAluBinary32.cs @@ -2,7 +2,6 @@ using ARMeilleure.State; using NUnit.Framework; -using System; namespace Ryujinx.Tests.Cpu { diff --git a/Ryujinx.Tests/Cpu/CpuTestAluImm32.cs b/Ryujinx.Tests/Cpu/CpuTestAluImm32.cs index ea5c3b053b..440642c389 100644 --- a/Ryujinx.Tests/Cpu/CpuTestAluImm32.cs +++ b/Ryujinx.Tests/Cpu/CpuTestAluImm32.cs @@ -1,7 +1,6 @@ #define AluRs32 using NUnit.Framework; -using System.Runtime.CompilerServices; namespace Ryujinx.Tests.Cpu { diff --git a/Ryujinx.Tests/Cpu/CpuTestMul32.cs b/Ryujinx.Tests/Cpu/CpuTestMul32.cs index 4bdb2ae282..daa6d46074 100644 --- a/Ryujinx.Tests/Cpu/CpuTestMul32.cs +++ b/Ryujinx.Tests/Cpu/CpuTestMul32.cs @@ -1,7 +1,6 @@ #define Mul32 using NUnit.Framework; -using System; namespace Ryujinx.Tests.Cpu { diff --git a/Ryujinx.Tests/Cpu/CpuTestSimdLogical32.cs b/Ryujinx.Tests/Cpu/CpuTestSimdLogical32.cs index b7cb2636b7..e55574fff1 100644 --- a/Ryujinx.Tests/Cpu/CpuTestSimdLogical32.cs +++ b/Ryujinx.Tests/Cpu/CpuTestSimdLogical32.cs @@ -2,7 +2,6 @@ using ARMeilleure.State; using NUnit.Framework; -using System; namespace Ryujinx.Tests.Cpu { diff --git a/Ryujinx.Tests/Cpu/CpuTestSimdMov32.cs b/Ryujinx.Tests/Cpu/CpuTestSimdMov32.cs index aba0f02dbf..bb2536432a 100644 --- a/Ryujinx.Tests/Cpu/CpuTestSimdMov32.cs +++ b/Ryujinx.Tests/Cpu/CpuTestSimdMov32.cs @@ -2,7 +2,6 @@ using ARMeilleure.State; using NUnit.Framework; -using System; namespace Ryujinx.Tests.Cpu { diff --git a/Ryujinx.Tests/Cpu/CpuTestSimdReg32.cs b/Ryujinx.Tests/Cpu/CpuTestSimdReg32.cs index be3c0eb6dd..0635d8fc30 100644 --- a/Ryujinx.Tests/Cpu/CpuTestSimdReg32.cs +++ b/Ryujinx.Tests/Cpu/CpuTestSimdReg32.cs @@ -2,7 +2,6 @@ using ARMeilleure.State; using NUnit.Framework; -using System; using System.Collections.Generic; namespace Ryujinx.Tests.Cpu diff --git a/Ryujinx.Tests/Cpu/CpuTestSimdRegElem32.cs b/Ryujinx.Tests/Cpu/CpuTestSimdRegElem32.cs index e1b367ed04..cf960dfdf3 100644 --- a/Ryujinx.Tests/Cpu/CpuTestSimdRegElem32.cs +++ b/Ryujinx.Tests/Cpu/CpuTestSimdRegElem32.cs @@ -2,7 +2,6 @@ using ARMeilleure.State; using NUnit.Framework; -using System; namespace Ryujinx.Tests.Cpu { diff --git a/Ryujinx.Tests/Cpu/CpuTestT32Alu.cs b/Ryujinx.Tests/Cpu/CpuTestT32Alu.cs index 6dc9b7c761..caef53d859 100644 --- a/Ryujinx.Tests/Cpu/CpuTestT32Alu.cs +++ b/Ryujinx.Tests/Cpu/CpuTestT32Alu.cs @@ -1,6 +1,4 @@ -using ARMeilleure.State; -using NUnit.Framework; -using System; +using NUnit.Framework; namespace Ryujinx.Tests.Cpu { diff --git a/Ryujinx.Tests/Cpu/CpuTestT32Mem.cs b/Ryujinx.Tests/Cpu/CpuTestT32Mem.cs index 024548aefe..e3f8d7ecf5 100644 --- a/Ryujinx.Tests/Cpu/CpuTestT32Mem.cs +++ b/Ryujinx.Tests/Cpu/CpuTestT32Mem.cs @@ -1,6 +1,4 @@ -using ARMeilleure.State; -using NUnit.Framework; -using System; +using NUnit.Framework; namespace Ryujinx.Tests.Cpu { diff --git a/Ryujinx.Tests/Cpu/CpuTestThumb.cs b/Ryujinx.Tests/Cpu/CpuTestThumb.cs index 885bd8681f..da7c6e92dc 100644 --- a/Ryujinx.Tests/Cpu/CpuTestThumb.cs +++ b/Ryujinx.Tests/Cpu/CpuTestThumb.cs @@ -1,6 +1,5 @@ using ARMeilleure.State; using NUnit.Framework; -using System; namespace Ryujinx.Tests.Cpu { diff --git a/Ryujinx.Tests/Cpu/PrecomputedMemoryThumbTestCase.cs b/Ryujinx.Tests/Cpu/PrecomputedMemoryThumbTestCase.cs index 4fb02c2b79..cec5a66828 100644 --- a/Ryujinx.Tests/Cpu/PrecomputedMemoryThumbTestCase.cs +++ b/Ryujinx.Tests/Cpu/PrecomputedMemoryThumbTestCase.cs @@ -1,5 +1,3 @@ -using System; - namespace Ryujinx.Tests.Cpu { public struct PrecomputedMemoryThumbTestCase diff --git a/Ryujinx.Ui.Common/Helper/SetupValidator.cs b/Ryujinx.Ui.Common/Helper/SetupValidator.cs index 215601e558..3d779fdf26 100644 --- a/Ryujinx.Ui.Common/Helper/SetupValidator.cs +++ b/Ryujinx.Ui.Common/Helper/SetupValidator.cs @@ -1,6 +1,5 @@ using Ryujinx.Common.Logging; using Ryujinx.HLE.FileSystem; -using Ryujinx.Ui.Common; using System; using System.IO; diff --git a/Ryujinx/Ui/GLRenderer.cs b/Ryujinx/Ui/GLRenderer.cs index 55baaa1286..b839e9cd4c 100644 --- a/Ryujinx/Ui/GLRenderer.cs +++ b/Ryujinx/Ui/GLRenderer.cs @@ -1,6 +1,4 @@ -using Gdk; -using Gtk; -using OpenTK.Graphics.OpenGL; +using OpenTK.Graphics.OpenGL; using Ryujinx.Common.Configuration; using Ryujinx.Graphics.OpenGL; using Ryujinx.Input.HLE; diff --git a/Ryujinx/Ui/SPBOpenGLContext.cs b/Ryujinx/Ui/SPBOpenGLContext.cs index e1a315c9d1..97644269b1 100644 --- a/Ryujinx/Ui/SPBOpenGLContext.cs +++ b/Ryujinx/Ui/SPBOpenGLContext.cs @@ -1,6 +1,4 @@ -using OpenTK; -using OpenTK.Graphics; -using OpenTK.Graphics.OpenGL; +using OpenTK.Graphics.OpenGL; using Ryujinx.Graphics.OpenGL; using SPB.Graphics; using SPB.Graphics.OpenGL; diff --git a/Ryujinx/Ui/VKRenderer.cs b/Ryujinx/Ui/VKRenderer.cs index d2f60de84c..f65b330b60 100644 --- a/Ryujinx/Ui/VKRenderer.cs +++ b/Ryujinx/Ui/VKRenderer.cs @@ -1,5 +1,4 @@ using Gdk; -using Gtk; using Ryujinx.Common.Configuration; using Ryujinx.Input.HLE; using SPB.Graphics.Vulkan; diff --git a/Ryujinx/Ui/Widgets/GameTableContextMenu.cs b/Ryujinx/Ui/Widgets/GameTableContextMenu.cs index 08157425df..1cb816ad98 100644 --- a/Ryujinx/Ui/Widgets/GameTableContextMenu.cs +++ b/Ryujinx/Ui/Widgets/GameTableContextMenu.cs @@ -17,7 +17,6 @@ using Ryujinx.HLE.HOS; using Ryujinx.HLE.HOS.Services.Account.Acc; using Ryujinx.Ui.Common.Configuration; using Ryujinx.Ui.Common.Helper; -using Ryujinx.Ui.Helper; using Ryujinx.Ui.Windows; using System; using System.Buffers; diff --git a/Ryujinx/Ui/Widgets/UserErrorDialog.cs b/Ryujinx/Ui/Widgets/UserErrorDialog.cs index f3b96e9e23..fc3938d42d 100644 --- a/Ryujinx/Ui/Widgets/UserErrorDialog.cs +++ b/Ryujinx/Ui/Widgets/UserErrorDialog.cs @@ -1,7 +1,6 @@ using Gtk; using Ryujinx.Ui.Common; using Ryujinx.Ui.Common.Helper; -using Ryujinx.Ui.Helper; namespace Ryujinx.Ui.Widgets { diff --git a/Ryujinx/Ui/Windows/CheatWindow.cs b/Ryujinx/Ui/Windows/CheatWindow.cs index dd4f933168..a9dccd34f0 100644 --- a/Ryujinx/Ui/Windows/CheatWindow.cs +++ b/Ryujinx/Ui/Windows/CheatWindow.cs @@ -6,8 +6,7 @@ using System.Collections.Generic; using System.IO; using System.Linq; -using GUI = Gtk.Builder.ObjectAttribute; -using JsonHelper = Ryujinx.Common.Utilities.JsonHelper; +using GUI = Gtk.Builder.ObjectAttribute; namespace Ryujinx.Ui.Windows {