fix fact that "fix error in subcode in ReadLBA_2352" is senseless

This commit is contained in:
zeromus 2015-07-08 18:56:49 -05:00
parent aad1e0608c
commit 91eecdca52
2 changed files with 8 additions and 6 deletions

View File

@ -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);
}
}
}

View File

@ -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);