diff options
author | TSRBerry <20988865+TSRBerry@users.noreply.github.com> | 2023-06-28 01:18:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 01:18:19 +0200 |
commit | fbaf62c2309f2987fa73a2022167ee3e81e31ea9 (patch) | |
tree | 9d2ef3298843b551a544acc429f2269f101af935 /src/Ryujinx.Audio/Renderer/Server/MemoryPool/PoolMapper.cs | |
parent | b186ec9fc5684bd8fa831a1777f6e936b897c352 (diff) |
Apply new naming rule to all projects except Vp9 (#5407)1.1.927
Diffstat (limited to 'src/Ryujinx.Audio/Renderer/Server/MemoryPool/PoolMapper.cs')
-rw-r--r-- | src/Ryujinx.Audio/Renderer/Server/MemoryPool/PoolMapper.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Ryujinx.Audio/Renderer/Server/MemoryPool/PoolMapper.cs b/src/Ryujinx.Audio/Renderer/Server/MemoryPool/PoolMapper.cs index 6c79da15..4a29ead3 100644 --- a/src/Ryujinx.Audio/Renderer/Server/MemoryPool/PoolMapper.cs +++ b/src/Ryujinx.Audio/Renderer/Server/MemoryPool/PoolMapper.cs @@ -256,19 +256,19 @@ namespace Ryujinx.Audio.Renderer.Server.MemoryPool MemoryPoolUserState outputState; - const uint pageSize = 0x1000; + const uint PageSize = 0x1000; if (inputState != MemoryPoolUserState.RequestAttach && inputState != MemoryPoolUserState.RequestDetach) { return UpdateResult.Success; } - if (inParameter.CpuAddress == 0 || (inParameter.CpuAddress % pageSize) != 0) + if (inParameter.CpuAddress == 0 || (inParameter.CpuAddress % PageSize) != 0) { return UpdateResult.InvalidParameter; } - if (inParameter.Size == 0 || (inParameter.Size % pageSize) != 0) + if (inParameter.Size == 0 || (inParameter.Size % PageSize) != 0) { return UpdateResult.InvalidParameter; } @@ -363,4 +363,4 @@ namespace Ryujinx.Audio.Renderer.Server.MemoryPool } } } -}
\ No newline at end of file +} |