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