misc: chore: Fix possible NullReferenceExceptions, suppress warnings

This commit is contained in:
KeatonTheBot
2025-12-13 14:33:40 -06:00
parent 9063b4b8db
commit fe7b601826
29 changed files with 100 additions and 80 deletions
@@ -78,7 +78,9 @@ namespace Ryujinx.Memory
}
}
return new ReadOnlySequence<byte>(first, 0, last, (int)(size - last.RunningIndex));
return first != null
? new ReadOnlySequence<byte>(first, 0, last, (int)(size - last.RunningIndex))
: default;
}
}