diff --git a/Ryujinx.HLE/OsHle/Services/Set/ISettingsServer.cs b/Ryujinx.HLE/OsHle/Services/Set/ISettingsServer.cs index 172dc3ea97..02d483b282 100644 --- a/Ryujinx.HLE/OsHle/Services/Set/ISettingsServer.cs +++ b/Ryujinx.HLE/OsHle/Services/Set/ISettingsServer.cs @@ -29,9 +29,9 @@ namespace Ryujinx.HLE.OsHle.Services.Set public static long GetAvailableLanguageCodes(ServiceCtx Context) { - GetAvailableLanguagesCodesMethod(Context.Request.RecvListBuff[0].Position, Context.Request.RecvListBuff[0].Size, Context); + GetAvailableLanguagesCodesMethod(Context.Request.RecvListBuff[0].Position, Context.Request.RecvListBuff[0].Size, Context); - return 0; + return 0; } public static long GetAvailableLanguageCodeCount(ServiceCtx Context) @@ -43,13 +43,13 @@ namespace Ryujinx.HLE.OsHle.Services.Set public static long GetAvailableLanguageCodes2(ServiceCtx Context) { - GetAvailableLanguagesCodesMethod(Context.Request.ReceiveBuff[0].Position, Context.Request.ReceiveBuff[0].Size, Context); + GetAvailableLanguagesCodesMethod(Context.Request.ReceiveBuff[0].Position, Context.Request.ReceiveBuff[0].Size, Context); - return 0; + return 0; } - public static long GetAvailableLanguagesCodesMethod(long Position, long Size, ServiceCtx Context) - { + public static long GetAvailableLanguagesCodesMethod(long Position, long Size, ServiceCtx Context) + { int Count = (int)(Size / 8); if (Count > SystemStateMgr.LanguageCodes.Length) @@ -66,7 +66,7 @@ namespace Ryujinx.HLE.OsHle.Services.Set Context.ResponseData.Write(Count); - return 0; - } + return 0; + } } }