fix fact that "fix error in subcode in ReadLBA_2352" is senseless
This commit is contained in:
parent
aad1e0608c
commit
91eecdca52
|
@ -44,10 +44,11 @@ namespace BizHawk.Emulation.DiscSystem
|
|||
}
|
||||
|
||||
//subcode has been generated deinterleaved; we may still need to interleave it
|
||||
if ((job.Parts & (ESectorSynthPart.SubcodeDeinterleave)) == 0)
|
||||
{
|
||||
SynthUtils.InterleaveSubcodeInplace(job.DestBuffer2448, job.DestOffset + 2352);
|
||||
}
|
||||
if((job.Parts & ESectorSynthPart.SubcodeAny) != 0)
|
||||
if ((job.Parts & (ESectorSynthPart.SubcodeDeinterleave)) == 0)
|
||||
{
|
||||
SynthUtils.InterleaveSubcodeInplace(job.DestBuffer2448, job.DestOffset + 2352);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -93,8 +93,9 @@ namespace BizHawk.Emulation.DiscSystem
|
|||
job.DestOffset = 0;
|
||||
job.Parts = ESectorSynthPart.User2352;
|
||||
job.Disc = disc;
|
||||
if (Policy.DeinterleavedSubcode)
|
||||
job.Parts |= ESectorSynthPart.SubcodeDeinterleave;
|
||||
|
||||
//this can't include subcode, so it's senseless to handle it here
|
||||
//if (Policy.DeinterleavedSubcode) job.Parts |= ESectorSynthPart.SubcodeDeinterleave;
|
||||
|
||||
sector.Synth(job);
|
||||
|
||||
|
|
Loading…
Reference in New Issue