mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-28 05:44:03 +00:00
[Ryujinx.Graphics.Host1x] Address dotnet-format issues (#5368)
* dotnet format style --severity info Some changes were manually reverted. * Address most dotnet format whitespace warnings * Add comments to disabled warnings * dotnet format whitespace after rebase
This commit is contained in:
parent
e96299eef5
commit
0191e2396a
5 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@ namespace Ryujinx.Graphics.Host1x
|
|||
{
|
||||
class Devices : IDisposable
|
||||
{
|
||||
private readonly Dictionary<ClassId, IDeviceState> _devices = new Dictionary<ClassId, IDeviceState>();
|
||||
private readonly Dictionary<ClassId, IDeviceState> _devices = new();
|
||||
|
||||
public void RegisterDevice(ClassId classId, IDeviceState device)
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace Ryujinx.Graphics.Host1x
|
|||
{
|
||||
struct Host1xClassRegisters
|
||||
{
|
||||
#pragma warning disable CS0649
|
||||
#pragma warning disable CS0649 // Field is never assigned to
|
||||
public uint IncrSyncpt;
|
||||
public uint IncrSyncptCntrl;
|
||||
public uint IncrSyncptError;
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace Ryujinx.Graphics.Host1x
|
|||
private readonly SyncptIncrManager _syncptIncrMgr;
|
||||
private readonly AsyncWorkQueue<Command> _commandQueue;
|
||||
|
||||
private readonly Devices _devices = new Devices();
|
||||
private readonly Devices _devices = new();
|
||||
|
||||
public Host1xClass Class { get; }
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace Ryujinx.Graphics.Host1x
|
|||
}
|
||||
}
|
||||
|
||||
private readonly List<SyncptIncr> _incrs = new List<SyncptIncr>();
|
||||
private readonly List<SyncptIncr> _incrs = new();
|
||||
|
||||
private uint _currentId;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace Ryujinx.Graphics.Host1x
|
|||
{
|
||||
struct ThiRegisters
|
||||
{
|
||||
#pragma warning disable CS0649
|
||||
#pragma warning disable CS0649 // Field is never assigned to
|
||||
public uint IncrSyncpt;
|
||||
public uint Reserved4;
|
||||
public uint IncrSyncptErr;
|
||||
|
|
Loading…
Reference in a new issue