mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-04-21 22:22:55 +00:00
misc: chore: Use explicit types in Memory project
This commit is contained in:
@@ -45,7 +45,7 @@ namespace Ryujinx.Memory.Tracking
|
||||
|
||||
public void ForceDirty(ulong address, ulong size)
|
||||
{
|
||||
foreach (var handle in _handles)
|
||||
foreach (RegionHandle handle in _handles)
|
||||
{
|
||||
if (handle != null && handle.OverlapsWith(address, size))
|
||||
{
|
||||
@@ -56,7 +56,7 @@ namespace Ryujinx.Memory.Tracking
|
||||
|
||||
public void RegisterAction(RegionSignal action)
|
||||
{
|
||||
foreach (var handle in _handles)
|
||||
foreach (RegionHandle handle in _handles)
|
||||
{
|
||||
if (handle != null)
|
||||
{
|
||||
@@ -67,7 +67,7 @@ namespace Ryujinx.Memory.Tracking
|
||||
|
||||
public void RegisterPreciseAction(PreciseRegionSignal action)
|
||||
{
|
||||
foreach (var handle in _handles)
|
||||
foreach (RegionHandle handle in _handles)
|
||||
{
|
||||
if (handle != null)
|
||||
{
|
||||
@@ -273,7 +273,7 @@ namespace Ryujinx.Memory.Tracking
|
||||
{
|
||||
GC.SuppressFinalize(this);
|
||||
|
||||
foreach (var handle in _handles)
|
||||
foreach (RegionHandle handle in _handles)
|
||||
{
|
||||
handle?.Dispose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user