mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-16 16:37:03 +00:00
misc: chore: Use explicit types in Memory project
This commit is contained in:
parent
ac401034d7
commit
fe661dc750
14 changed files with 48 additions and 48 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue