1
0
forked from MeloNX/MeloNX

"Where" should be used before "OrderBy" (#5346)

This commit is contained in:
Marco Carvalho 2023-06-22 21:51:44 -03:00 committed by GitHub
parent 3fac43d06e
commit b2a9e16a59

View File

@ -140,7 +140,7 @@ namespace Ryujinx.Graphics.Shader.Translation
FunctionMatch.RunPass(program);
foreach (DecodedFunction function in program.OrderBy(x => x.Address).Where(x => !x.IsCompilerGenerated))
foreach (DecodedFunction function in program.Where(x => !x.IsCompilerGenerated).OrderBy(x => x.Address))
{
program.AddFunctionAndSetId(function);
}