Fix GetDesiredLanguage and expose a way to set the desired language, default to english

This commit is contained in:
gdkchan 2018-04-29 20:18:46 -03:00
parent f73a182b20
commit 071754aaeb
5 changed files with 83 additions and 63 deletions

View file

@ -48,11 +48,7 @@ namespace Ryujinx.Core.OsHle.Services.Am
public long GetDesiredLanguage(ServiceCtx Context)
{
Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
//This is an enumerator where each number is a differnet language.
//0 is Japanese and 1 is English, need to figure out the other codes.
Context.ResponseData.Write(1L);
Context.ResponseData.Write(Context.Ns.Os.SystemState.DesiredLanguageCode);
return 0;
}