mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-21 19:37:05 +00:00
misc: chore: Fix numerous NullReferenceExceptions, InvalidOperationExceptions
This commit is contained in:
parent
9b6b9146e2
commit
d0abbc6da3
90 changed files with 667 additions and 533 deletions
|
|
@ -42,7 +42,7 @@ namespace Ryujinx.Graphics.Shader.Translation.Transforms
|
|||
|
||||
Operand[] callArgs = [Const(functionId), value, index, mask, valid];
|
||||
|
||||
LinkedListNode<INode> newNode = node.List.AddBefore(node, new Operation(Instruction.Call, 0, result, callArgs));
|
||||
LinkedListNode<INode> newNode = node.List?.AddBefore(node, new Operation(Instruction.Call, 0, result, callArgs));
|
||||
|
||||
Utils.DeleteNode(node, operation);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue