aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Ui.Common/Helper/SetupValidator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Ui.Common/Helper/SetupValidator.cs')
-rw-r--r--src/Ryujinx.Ui.Common/Helper/SetupValidator.cs16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/Ryujinx.Ui.Common/Helper/SetupValidator.cs b/src/Ryujinx.Ui.Common/Helper/SetupValidator.cs
index 3d779fdf..4a7dac47 100644
--- a/src/Ryujinx.Ui.Common/Helper/SetupValidator.cs
+++ b/src/Ryujinx.Ui.Common/Helper/SetupValidator.cs
@@ -20,12 +20,10 @@ namespace Ryujinx.Ui.Common.Helper
return true;
}
- else
- {
- error = UserError.NoFirmware;
- return false;
- }
+ error = UserError.NoFirmware;
+
+ return false;
}
public static bool CanFixStartApplication(ContentManager contentManager, string baseApplicationPath, UserError error, out SystemVersion firmwareVersion)
@@ -107,12 +105,10 @@ namespace Ryujinx.Ui.Common.Helper
return IsFirmwareValid(contentManager, out error);
}
- else
- {
- error = UserError.ApplicationNotFound;
- return false;
- }
+ error = UserError.ApplicationNotFound;
+
+ return false;
}
}
}