forked from Mirror/Ryujinx
added set: getavailablelanguagecount (#65)
This commit is contained in:
parent
ca6cf1cc90
commit
33ad3982aa
1 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in a new issue