mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-27 15:07:54 +02:00
@@ -58,7 +58,10 @@ namespace Ryujinx.Memory.Tracking
|
||||
{
|
||||
foreach (var handle in _handles)
|
||||
{
|
||||
handle?.RegisterAction((_, _) => action(handle.Address, handle.Size));
|
||||
if (handle != null)
|
||||
{
|
||||
handle?.RegisterAction((_, _) => action(handle.Address, handle.Size));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,7 +69,10 @@ namespace Ryujinx.Memory.Tracking
|
||||
{
|
||||
foreach (var handle in _handles)
|
||||
{
|
||||
handle?.RegisterPreciseAction((_, _, write) => action(handle.Address, handle.Size, write));
|
||||
if (handle != null)
|
||||
{
|
||||
handle?.RegisterPreciseAction((_, _, write) => action(handle.Address, handle.Size, write));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user