mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 03:05:45 +00:00
"Where" should be used before "OrderBy" (#5346)
This commit is contained in:
parent
91e4caaa69
commit
bf96bc84a8
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ namespace Ryujinx.Graphics.Shader.Translation
|
||||||
|
|
||||||
FunctionMatch.RunPass(program);
|
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);
|
program.AddFunctionAndSetId(function);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue