mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-04 21:18:54 +02:00
misc: chore: Fix possible System.NullReferenceExceptions
This commit is contained in:
@@ -124,7 +124,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv
|
||||
{
|
||||
targetPrevAddress = InvalidAddress;
|
||||
}
|
||||
node = node.Previous;
|
||||
node = node?.Previous;
|
||||
_tree.Remove(prevAddress);
|
||||
_list.Remove(_dictionary[prevAddress]);
|
||||
_dictionary.Remove(prevAddress);
|
||||
|
||||
Reference in New Issue
Block a user