mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-06 17:08:55 +02:00
misc: chore: Fix numerous NullReferenceExceptions, InvalidOperationExceptions
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user