aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Spl/ResultCode.cs
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2021-10-12 22:15:55 +0200
committerGitHub <noreply@github.com>2021-10-12 22:15:55 +0200
commit0510fde25ae66ec0b55091746a52931248d75b89 (patch)
tree07fe371a9ae4b878613123b4ee878278c3b56500 /Ryujinx.HLE/HOS/Services/Spl/ResultCode.cs
parent380b95bc59e7dc419f89df951cdc086e792cb0ff (diff)
spl: Implement IGeneralInterface GetConfig (#2705)
* spl: Implement IGeneralInterface GetConfig This PR implement the GetConfig call of the spl service. This is currently needed for some homebrews which currently needs Ignore Missing Service to boot. Now it's fixed. Implementation was done using Atmosphère code and REing too. * Addresses gdkchan feedback
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Spl/ResultCode.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/Spl/ResultCode.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Spl/ResultCode.cs b/Ryujinx.HLE/HOS/Services/Spl/ResultCode.cs
new file mode 100644
index 00000000..4f61998a
--- /dev/null
+++ b/Ryujinx.HLE/HOS/Services/Spl/ResultCode.cs
@@ -0,0 +1,12 @@
+namespace Ryujinx.HLE.HOS.Services.Spl
+{
+ enum ResultCode
+ {
+ ModuleId = 26,
+ ErrorCodeShift = 9,
+
+ Success = 0,
+
+ InvalidArguments = (101 << ErrorCodeShift) | ModuleId
+ }
+} \ No newline at end of file