mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Stop checking RW subchannel once it has been found to contain data.
This commit is contained in:
@@ -116,15 +116,19 @@ namespace Aaru.Core.Devices.Dumping
|
||||
pOk = false;
|
||||
|
||||
for(int w = 0; w < 8; w++)
|
||||
{
|
||||
if(((deSub[p] >> w) & 1) > 0)
|
||||
pWeight++;
|
||||
}
|
||||
}
|
||||
|
||||
for(int rw = subPos + 24; rw < subPos + 96; rw++)
|
||||
if(deSub[rw] != 0)
|
||||
rwOk = false;
|
||||
{
|
||||
if(deSub[rw] == 0)
|
||||
continue;
|
||||
|
||||
rwOk = false;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
bool rwPacket = false;
|
||||
bool cdtextPacket = false;
|
||||
|
||||
Reference in New Issue
Block a user