misc: chore: Fix numerous NullReferenceExceptions, InvalidOperationExceptions

This commit is contained in:
KeatonTheBot
2025-06-20 16:33:20 -05:00
parent 9b6b9146e2
commit d0abbc6da3
90 changed files with 667 additions and 533 deletions
@@ -25,7 +25,7 @@ namespace Ryujinx.Common.Configuration.Hid.Controller.Motion
{
string propertyName = tempReader.GetString();
if (propertyName.Equals("motion_backend"))
if (propertyName is "motion_backend")
{
tempReader.Read();
@@ -27,7 +27,7 @@ namespace Ryujinx.Common.Configuration.Hid
{
string propertyName = tempReader.GetString();
if (propertyName.Equals("backend"))
if (propertyName is "backend")
{
tempReader.Read();