added set: getavailablelanguagecount (#65)

This commit is contained in:
emmauss 2018-03-23 12:42:34 +02:00 committed by gdkchan
parent ca6cf1cc90
commit 33ad3982aa

View File

@ -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;
}
}
}