aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Horizon.Common/Result.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2023-01-08 15:34:49 -0300
committerGitHub <noreply@github.com>2023-01-08 15:34:49 -0300
commit6f60e102a29aa04fff5c6bcdec37213b2d8ac646 (patch)
tree28d6bbe66452006603f1bd901acf4cc483c244cb /Ryujinx.Horizon.Common/Result.cs
parenteeb2af9953f48479c3a902664f31634e6a2148be (diff)
HIPC: Fix reply possibly also receiving one request (#4232)1.1.521
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);