1
0
forked from MeloNX/MeloNX

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 a616ebd5cd
commit be462841f1

View File

@ -29,7 +29,7 @@ namespace Ryujinx.HLE.OsHle.Services.Set
public static long GetAvailableLanguageCodes(ServiceCtx Context) 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; return 0;
} }
@ -43,12 +43,12 @@ namespace Ryujinx.HLE.OsHle.Services.Set
public static long GetAvailableLanguageCodes2(ServiceCtx Context) 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; 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); int Count = (int)(Size / 8);