mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-25 07:09:55 -06:00
misc: chore: Use explicit types in Memory project
This commit is contained in:
@ -109,7 +109,7 @@ namespace Ryujinx.Memory
|
||||
yield break;
|
||||
}
|
||||
|
||||
foreach (var hostRegion in GetHostRegionsImpl(va, size))
|
||||
foreach (HostMemoryRange hostRegion in GetHostRegionsImpl(va, size))
|
||||
{
|
||||
yield return hostRegion;
|
||||
}
|
||||
@ -123,7 +123,7 @@ namespace Ryujinx.Memory
|
||||
yield break;
|
||||
}
|
||||
|
||||
var hostRegions = GetHostRegionsImpl(va, size);
|
||||
IEnumerable<HostMemoryRange> hostRegions = GetHostRegionsImpl(va, size);
|
||||
if (hostRegions == null)
|
||||
{
|
||||
yield break;
|
||||
@ -132,7 +132,7 @@ namespace Ryujinx.Memory
|
||||
ulong backingStart = (ulong)_backingMemory.Pointer;
|
||||
ulong backingEnd = backingStart + _backingMemory.Size;
|
||||
|
||||
foreach (var hostRegion in hostRegions)
|
||||
foreach (HostMemoryRange hostRegion in hostRegions)
|
||||
{
|
||||
if (hostRegion.Address >= backingStart && hostRegion.Address < backingEnd)
|
||||
{
|
||||
|
Reference in New Issue
Block a user