misc: chore: Use explicit types in Memory project

This commit is contained in:
Evan Husted 2025-01-25 14:09:36 -06:00
parent ac401034d7
commit fe661dc750
14 changed files with 48 additions and 48 deletions

View file

@ -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();
}