1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-24 06:22:00 +00:00

change places of the args of GetAvailableLanguagesCodesMethod

This commit is contained in:
greggameplayer 2018-06-13 17:38:19 +02:00 committed by GitHub
parent 940de631ab
commit 644a328b88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ 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, Context.Request.RecvListBuff[0].Position, Context.Request.RecvListBuff[0].Size);
return 0;
}
@ -43,12 +43,12 @@ 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, Context.Request.ReceiveBuff[0].Position, Context.Request.ReceiveBuff[0].Size);
return 0;
}
public static long GetAvailableLanguagesCodesMethod(long Position, long Size, ServiceCtx Context)
public static long GetAvailableLanguagesCodesMethod(ServiceCtx Context, long Position, long Size)
{
int Count = (int)(Size / 8);