mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-19 04:37:01 +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
|
|
@ -90,7 +90,7 @@ namespace Ryujinx.Memory.Tracking
|
|||
|
||||
MemoryPermission result = MemoryPermission.ReadAndWrite;
|
||||
|
||||
foreach (var handle in Handles)
|
||||
foreach (RegionHandle handle in Handles)
|
||||
{
|
||||
result &= handle.RequiredPermission;
|
||||
if (result == 0)
|
||||
|
|
@ -143,7 +143,7 @@ namespace Ryujinx.Memory.Tracking
|
|||
|
||||
// The new region inherits all of our parents.
|
||||
newRegion.Handles = new List<RegionHandle>(Handles);
|
||||
foreach (var parent in Handles)
|
||||
foreach (RegionHandle parent in Handles)
|
||||
{
|
||||
parent.AddChild(newRegion);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue