1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-24 05:02:02 +00:00

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>() 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;
}
} }
} }