added set: getavailablelanguagecount

This commit is contained in:
emmaus 2018-03-21 19:58:14 +00:00
commit 2abf784d62

View file

@ -15,7 +15,8 @@ namespace Ryujinx.Core.OsHle.Services.Set
{ {
m_Commands = new Dictionary<int, ServiceProcessRequest>() m_Commands = new Dictionary<int, ServiceProcessRequest>()
{ {
{ 1, GetAvailableLanguageCodes } { 1, GetAvailableLanguageCodes },
{ 3, GetAvailableLanguageCodeCount }
}; };
} }
@ -41,5 +42,12 @@ namespace Ryujinx.Core.OsHle.Services.Set
return 0; return 0;
} }
public static long GetAvailableLanguageCodeCount(ServiceCtx Context)
{
Context.ResponseData.Write(LangCodesCount);
return 0;
}
} }
} }