aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ryujinx.Core/OsHle/Services/Set/ServiceSet.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/Ryujinx.Core/OsHle/Services/Set/ServiceSet.cs b/Ryujinx.Core/OsHle/Services/Set/ServiceSet.cs
index ab4e040a..95845e31 100644
--- a/Ryujinx.Core/OsHle/Services/Set/ServiceSet.cs
+++ b/Ryujinx.Core/OsHle/Services/Set/ServiceSet.cs
@@ -15,7 +15,8 @@ namespace Ryujinx.Core.OsHle.Services.Set
{
m_Commands = new Dictionary<int, ServiceProcessRequest>()
{
- { 1, GetAvailableLanguageCodes }
+ { 1, GetAvailableLanguageCodes },
+ { 3, GetAvailableLanguageCodeCount }
};
}
@@ -41,5 +42,12 @@ namespace Ryujinx.Core.OsHle.Services.Set
return 0;
}
+
+ public static long GetAvailableLanguageCodeCount(ServiceCtx Context)
+ {
+ Context.ResponseData.Write(LangCodesCount);
+
+ return 0;
+ }
}
} \ No newline at end of file