aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Horizon.Common/Result.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Horizon.Common/Result.cs')
-rw-r--r--Ryujinx.Horizon.Common/Result.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/Ryujinx.Horizon.Common/Result.cs b/Ryujinx.Horizon.Common/Result.cs
index ac843688..28056310 100644
--- a/Ryujinx.Horizon.Common/Result.cs
+++ b/Ryujinx.Horizon.Common/Result.cs
@@ -100,14 +100,6 @@ namespace Ryujinx.Horizon.Common
}
}
- public void AbortOnFailureUnless(Result result, Result result2)
- {
- if (this != Success && this != result && this != result2)
- {
- ThrowInvalidResult();
- }
- }
-
private void ThrowInvalidResult()
{
throw new InvalidResultException(this);