From 7c645430d0996118e2fc17a87a8c2040a7f67980 Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Sun, 3 Mar 2019 14:20:35 -0600 Subject: [PATCH] Thought I got all of these --- Ryujinx.Graphics/VDec/BitStreamWriter.cs | 4 ++-- Ryujinx.Graphics/VDec/VpxRangeEncoder.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Ryujinx.Graphics/VDec/BitStreamWriter.cs b/Ryujinx.Graphics/VDec/BitStreamWriter.cs index 60cd5c227a..db2d39e593 100644 --- a/Ryujinx.Graphics/VDec/BitStreamWriter.cs +++ b/Ryujinx.Graphics/VDec/BitStreamWriter.cs @@ -45,9 +45,9 @@ namespace Ryujinx.Graphics.VDec _buffer |= ((value >> srcShift) & mask) << dstShift; - valuePos += copySize; + valuePos += copySize; _bufferPos += copySize; - remaining -= copySize; + remaining -= copySize; } } diff --git a/Ryujinx.Graphics/VDec/VpxRangeEncoder.cs b/Ryujinx.Graphics/VDec/VpxRangeEncoder.cs index fcf303cbf7..c854c9d9de 100644 --- a/Ryujinx.Graphics/VDec/VpxRangeEncoder.cs +++ b/Ryujinx.Graphics/VDec/VpxRangeEncoder.cs @@ -76,8 +76,8 @@ namespace Ryujinx.Graphics.VDec int shift = NormLut[range]; - range <<= shift; - _count += shift; + range <<= shift; + _count += shift; if (_count >= 0) {