From 33ad3982aa6b823bb2f93ec00f911a558dd98b1f Mon Sep 17 00:00:00 2001 From: emmauss Date: Fri, 23 Mar 2018 12:42:34 +0200 Subject: [PATCH] added set: getavailablelanguagecount (#65) --- Ryujinx.Core/OsHle/Services/Set/ServiceSet.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Ryujinx.Core/OsHle/Services/Set/ServiceSet.cs b/Ryujinx.Core/OsHle/Services/Set/ServiceSet.cs index ab4e040a62..95845e3165 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() { - { 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