mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add classifying rw full off 0xFF as being empty
This commit is contained in:
committed by
GitHub
parent
b3c578074d
commit
5e95e85944
@@ -100,15 +100,9 @@ namespace Aaru.Core.Media
|
||||
pWeight++;
|
||||
}
|
||||
|
||||
for(int rw = subPos + 24; rw < subPos + 96; rw++)
|
||||
{
|
||||
if(deSub[rw] == 0)
|
||||
continue;
|
||||
|
||||
rwOk = false;
|
||||
|
||||
break;
|
||||
}
|
||||
if(!deSub.Skip(subPos + 24).Take(96 - 24).All(rw => (rw == 0)) &&
|
||||
!deSub.Skip(subPos + 24).Take(96 - 24).All(rw => (rw == 0xFF)))
|
||||
rwOk = false;
|
||||
|
||||
bool rwPacket = false;
|
||||
bool cdtextPacket = false;
|
||||
@@ -1501,4 +1495,4 @@ namespace Aaru.Core.Media
|
||||
endProgress?.Invoke();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user