mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 06:46:24 +02:00
add comments
This commit is contained in:
parent
fe5b6ad7c7
commit
d7a6f95c8b
2 changed files with 3 additions and 0 deletions
|
@ -299,6 +299,7 @@ namespace Ryujinx.Memory.Tracking
|
|||
NonOverlappingRangeList<VirtualRegion> regions = guest ? _guestVirtualRegions : _virtualRegions;
|
||||
ref RangeItem<VirtualRegion>[] overlaps = ref ThreadStaticArray<RangeItem<VirtualRegion>>.Get();
|
||||
|
||||
// We use the non-span method here because keeping the lock will cause a deadlock.
|
||||
regions.Lock.EnterReadLock();
|
||||
OverlapResult result = regions.FindOverlapsNonOverlapping(address, size, ref overlaps);
|
||||
regions.Lock.ExitReadLock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue