mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-10 13:41:42 +00:00
Fix formatting on ISettingsServer
This commit is contained in:
parent
9cbf908cf5
commit
c206239d28
1 changed files with 20 additions and 14 deletions
|
@ -29,9 +29,12 @@ namespace Ryujinx.HLE.OsHle.Services.Set
|
|||
|
||||
public static long GetAvailableLanguageCodes(ServiceCtx Context)
|
||||
{
|
||||
GetAvailableLanguagesCodesMethod(Context, Context.Request.RecvListBuff[0].Position, Context.Request.RecvListBuff[0].Size);
|
||||
GetAvailableLanguagesCodesImpl(
|
||||
Context,
|
||||
Context.Request.RecvListBuff[0].Position,
|
||||
Context.Request.RecvListBuff[0].Size);
|
||||
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static long GetAvailableLanguageCodeCount(ServiceCtx Context)
|
||||
|
@ -43,13 +46,16 @@ namespace Ryujinx.HLE.OsHle.Services.Set
|
|||
|
||||
public static long GetAvailableLanguageCodes2(ServiceCtx Context)
|
||||
{
|
||||
GetAvailableLanguagesCodesMethod(Context, Context.Request.ReceiveBuff[0].Position, Context.Request.ReceiveBuff[0].Size);
|
||||
GetAvailableLanguagesCodesImpl(
|
||||
Context,
|
||||
Context.Request.ReceiveBuff[0].Position,
|
||||
Context.Request.ReceiveBuff[0].Size);
|
||||
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static long GetAvailableLanguagesCodesMethod(ServiceCtx Context, long Position, long Size)
|
||||
{
|
||||
public static long GetAvailableLanguagesCodesImpl(ServiceCtx Context, long Position, long Size)
|
||||
{
|
||||
int Count = (int)(Size / 8);
|
||||
|
||||
if (Count > SystemStateMgr.LanguageCodes.Length)
|
||||
|
@ -66,7 +72,7 @@ namespace Ryujinx.HLE.OsHle.Services.Set
|
|||
|
||||
Context.ResponseData.Write(Count);
|
||||
|
||||
return 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue