mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Refactor] Optimize LINQ queries.
This commit is contained in:
@@ -191,8 +191,8 @@ partial class Dump
|
||||
if(oldToc.HasValue)
|
||||
{
|
||||
foreach(TOC.CDTOCTrackDataDescriptor trk in oldToc.Value.TrackDescriptors
|
||||
.OrderBy(static t => t.TrackNumber)
|
||||
.Where(static trk => trk.ADR is 1 or 4))
|
||||
.Where(static trk => trk.ADR is 1 or 4)
|
||||
.OrderBy(static t => t.TrackNumber))
|
||||
{
|
||||
switch(trk.TrackNumber)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user