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 a6233d6e..038312fe 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 74799623..953fef5b 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 4ac7020d..bce6794a 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 bf84d1d3..8c3de689 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 8ed4b4b1..b6da8abd 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 a2a3869f..ec0c32bf 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 68cd8d84..ed6b2a31 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 eebb824e..ca4133ad 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 513829a6..b74f1098 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 54548c11..3953b809 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 b39f196a..38e2b133 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 e01ec2bd..3cdf7513 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 d68f3def..e35911b2 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 e9f7f943..ab1ea77d 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 95aec99d..27cd6e84 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 e8c3ba24..2cbed9c2 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 330b63a6..64c297d1 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 eb446a2b..e3a87c10 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 98394a09..a393c885 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 ebc2eb1b..ad703de1 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 0056ac5c..6df44b32 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 aa3d9795..3a3a981d 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 2385f46f..c60d8ebc 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 6cbe9d16..47f4392e 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 51fa0130..74c435b5 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 4a546747..242246eb 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 133bcc03..05e92c36 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 b4acd155..ce634576 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 d7bb4b74..564ee4b2 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 e4b37dec..3e78119d 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 19d6f98b..efea4339 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 a3abdd3b..2422a031 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 90b870aa..26090e19 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 9333a40e..e0efdf43 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 13c2f20a..cc8f5d0f 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 ef22e5c8..6ce1d17d 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 f1f7850e..b4d5d5b5 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 51c7bff0..526ca0bb 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 da8ad797..d7f0e788 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 5a325d08..f1bfee82 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 54e9e85c..7b77c4f2 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 e83b26cd..401fe91b 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 f1aa3e8e..d40d5f5e 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 fdc8fb6a..ed301e02 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 5c68dc9e..a42e2cc7 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 0c247074..9baf1924 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 8e48738d..cf67f648 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 bdaba2c9..b7d46d08 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 61861f4d..e1b8c7d4 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 7e1e66b2..ca869b01 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 7c5f0363..ff06abb1 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 9d1dbc8f..1d054969 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 0791feef..e02c8cdc 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 7bee844e..277f39b9 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 dfa44afe..dcac9f64 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 81f70684..1e49f6bf 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 b1ac819e..0096533d 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 6a563c16..9b5e8013 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 8247bbfb..93eeb8d7 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 1a2969af..d49a6bf6 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 f67c6a72..edebf1a0 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 eeae4576..d70a00ed 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 7bddf459..8657c0f7 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 4e070c90..35611b98 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 b21407c3..03c6b652 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 85cc3234..bb79b09c 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 62aa5940..2d5509ff 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 2763253b..f40d5411 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 681b9208..925d52f6 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 de112f54..4f570d3f 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 ea05d2bb..41d487eb 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 8b4c2dda..4c99f425 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 3f34793f..6e935077 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 a243a645..7bbc3ba2 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 ed57ae04..104fe578 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 7fb98017..a08c4b26 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 cb81e21b..8860f007 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 957fb9a1..f89827d3 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 3d630294..5ae0eb1e 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 61b1f1a1..3e516d83 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 e8bf628a..0e3cd18a 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 4499aac8..05e37db0 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 0ecbab3f..9568fc84 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 2149e266..f130c455 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 c13ee186..3c53abec 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 ee400e69..df084ff4 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 647fb395..14bdd476 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 14a6d699..dd45e9ea 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 90814cf9..d397ef5b 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 74e5fcda..18e03e49 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 bd769226..d1143225 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 629d8ee1..6229f5ed 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 24032999..e006c829 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 fd5d0d41..7c4f2286 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 46be2088..cd162b1c 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 2dd4029a..45a47f44 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 fb4b25ff..766e3eed 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 a478991b..ef95fa2b 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 c6f8bf97..596fc3ce 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 bc3fb396..a0d78d03 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 24f8e864..236d4769 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 d8eafba4..9ec1dc63 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 6706ad0b..46c0fc33 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 a0d2e513..b2269d5c 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 ec75e3d0..f2ac17ff 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 f34b42a9..419f8e4d 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 170bf98b..f04aa22e 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 0a0302c2..c402c4ba 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 ea5c3b05..440642c3 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 4bdb2ae2..daa6d460 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 b7cb2636..e55574ff 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 aba0f02d..bb253643 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 be3c0eb6..0635d8fc 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 e1b367ed..cf960dfd 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 6dc9b7c7..caef53d8 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 024548ae..e3f8d7ec 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 885bd868..da7c6e92 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 4fb02c2b..cec5a668 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 215601e5..3d779fdf 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 55baaa12..b839e9cd 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 e1a315c9..97644269 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 d2f60de8..f65b330b 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 08157425..1cb816ad 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 f3b96e9e..fc3938d4 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 dd4f9331..a9dccd34 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 {