diff options
| author | Mary-nyan <mary@mary.zone> | 2022-07-25 20:46:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-25 15:46:33 -0300 |
| commit | 1825bd87b4f0709ab79ed407f6c267ba3545456e (patch) | |
| tree | 3309fa4aea0cb8d17715a3ee5f5e04acd376681f /Ryujinx.Audio/Renderer/Server/MemoryPool/AddressInfo.cs | |
| parent | 62f8ceb60b969db65a24d312dde7c6513a07ec46 (diff) | |
misc: Reformat Ryujinx.Audio with dotnet-format (#3485)
This is the first commit of a series of reformat around the codebase as
discussed internally some weeks ago.
This project being one that isn't touched that much, it shouldn't cause
conflict with any opened PRs.
Diffstat (limited to 'Ryujinx.Audio/Renderer/Server/MemoryPool/AddressInfo.cs')
| -rw-r--r-- | Ryujinx.Audio/Renderer/Server/MemoryPool/AddressInfo.cs | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Ryujinx.Audio/Renderer/Server/MemoryPool/AddressInfo.cs b/Ryujinx.Audio/Renderer/Server/MemoryPool/AddressInfo.cs index fa1ae44a..5fd6b2b9 100644 --- a/Ryujinx.Audio/Renderer/Server/MemoryPool/AddressInfo.cs +++ b/Ryujinx.Audio/Renderer/Server/MemoryPool/AddressInfo.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.InteropServices; - -using DspAddress = System.UInt64; using CpuAddress = System.UInt64; +using DspAddress = System.UInt64; namespace Ryujinx.Audio.Renderer.Server.MemoryPool { @@ -53,9 +52,9 @@ namespace Ryujinx.Audio.Renderer.Server.MemoryPool { return new AddressInfo { - CpuAddress = cpuAddress, - _memoryPools = MemoryPoolState.Null, - Size = size, + CpuAddress = cpuAddress, + _memoryPools = MemoryPoolState.Null, + Size = size, ForceMappedDspAddress = 0 }; } @@ -68,8 +67,8 @@ namespace Ryujinx.Audio.Renderer.Server.MemoryPool /// <param name="size">The size of the region.</param> public void Setup(CpuAddress cpuAddress, ulong size) { - CpuAddress = cpuAddress; - Size = size; + CpuAddress = cpuAddress; + Size = size; ForceMappedDspAddress = 0; unsafe @@ -131,4 +130,4 @@ namespace Ryujinx.Audio.Renderer.Server.MemoryPool return MemoryPoolState.Translate(CpuAddress, Size); } } -} +}
\ No newline at end of file |
