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
@@ -1,6 +1,7 @@
using Ryujinx.Memory.Range;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
namespace Ryujinx.Memory
+1 -1
View File
@@ -19,7 +19,7 @@ namespace Ryujinx.Memory
_length = length;
}
public T* Pointer => _pointer;
public unsafe T* Pointer => _pointer;
public int Length => _length;
+2 -2
View File
@@ -60,8 +60,8 @@ namespace Ryujinx.Memory.Tracking
private readonly MemoryTracking _tracking;
private bool _disposed;
private int _checkCount;
private int _volatileCount;
private int _checkCount = 0;
private int _volatileCount = 0;
private bool _volatile;
internal MemoryPermission RequiredPermission