aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremmauss <emmausssss@gmail.com>2018-03-23 12:42:34 +0200
committergdkchan <gab.dark.100@gmail.com>2018-03-23 07:42:34 -0300
commit33ad3982aa6b823bb2f93ec00f911a558dd98b1f (patch)
tree75a3605e0d77f2abd8c2bcdd18662d21ec48f583
parentca6cf1cc90585ae666ead61a18f0c0fac2f0c555 (diff)
added set: getavailablelanguagecount (#65)
-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