mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-07 12:49:09 +02:00
misc: Tweak NullReferenceException fixes
This commit is contained in:
@@ -388,12 +388,7 @@ namespace Ryujinx.Cpu.Jit.HostTracked
|
||||
_treeLock.ExitReadLock();
|
||||
}
|
||||
|
||||
if (_firstPagePa != null)
|
||||
{
|
||||
return (_backingMemory, _firstPagePa.Value);
|
||||
}
|
||||
|
||||
return (null, 0);
|
||||
return _firstPagePa != null ? (_backingMemory, _firstPagePa.Value) : (null, 0);
|
||||
}
|
||||
|
||||
public PrivateRange GetPrivateAllocation(ulong va)
|
||||
|
||||
Reference in New Issue
Block a user