mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-27 19:13:04 +00:00
Implement GetAvailableLanguageCodeCount2
This commit is contained in:
parent
3bdd109f45
commit
2609ea1182
1 changed files with 16 additions and 8 deletions
|
@ -16,7 +16,8 @@ namespace Ryujinx.HLE.OsHle.Services.Set
|
|||
{ 0, GetLanguageCode },
|
||||
{ 1, GetAvailableLanguageCodes },
|
||||
{ 3, GetAvailableLanguageCodeCount },
|
||||
{ 5, GetAvailableLanguageCodes2 }
|
||||
{ 5, GetAvailableLanguageCodes2 },
|
||||
{ 6, GetAvailableLanguageCodeCount2 }
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -48,6 +49,13 @@ namespace Ryujinx.HLE.OsHle.Services.Set
|
|||
return 0;
|
||||
}
|
||||
|
||||
public static long GetAvailableLanguageCodeCount2(ServiceCtx Context)
|
||||
{
|
||||
Context.ResponseData.Write(SystemStateMgr.LanguageCodes.Length);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static long GetAvailableLanguagesCodesMethod(ServiceCtx Context, long Position, long Size)
|
||||
{
|
||||
int Count = (int)(Size / 8);
|
||||
|
|
Loading…
Reference in a new issue