Revert "misc: chore: Remove redundant code"

This reverts commit 05a88ccc94.
This commit is contained in:
KeatonTheBot
2025-03-15 20:00:22 -05:00
parent 7960ea643f
commit efd5a104b6
109 changed files with 412 additions and 271 deletions
@@ -13,7 +13,7 @@ namespace Ryujinx.Graphics.GAL.Multithreading
/// </summary>
class BufferMap
{
private ulong _bufferHandle;
private ulong _bufferHandle = 0;
private readonly Dictionary<BufferHandle, BufferHandle> _bufferMap = new();
private readonly HashSet<BufferHandle> _inFlight = [];
@@ -55,7 +55,7 @@ namespace Ryujinx.Graphics.GAL.Multithreading
private int _refProducerPtr;
private int _refConsumerPtr;
public uint ProgramCount { get; set; }
public uint ProgramCount { get; set; } = 0;
private Action _interruptAction;
private readonly Lock _interruptLock = new();