some majorly incomplete cue stuff. need to refactor into CueGrid so an index#0 can setup its Q subchannel synthesis by easily referencing the following index

This commit is contained in:
zeromus 2015-06-28 05:33:10 -05:00
parent d698bb8059
commit 8b0593dcb2
4 changed files with 299 additions and 844 deletions

File diff suppressed because it is too large Load Diff

View File

@ -8,6 +8,8 @@ namespace BizHawk.Emulation.DiscSystem
{ {
abstract class SS_Base : ISectorSynthJob2448 abstract class SS_Base : ISectorSynthJob2448
{ {
public IBlob Blob;
public long BlobOffset;
public SubchannelQ sq; public SubchannelQ sq;
public abstract void Synth(SectorSynthJob job); public abstract void Synth(SectorSynthJob job);
@ -57,8 +59,6 @@ namespace BizHawk.Emulation.DiscSystem
/// </summary> /// </summary>
class SS_2352 : SS_Base class SS_2352 : SS_Base
{ {
public IBlob Blob;
public long BlobOffset;
public override void Synth(SectorSynthJob job) public override void Synth(SectorSynthJob job)
{ {
//read the sector user data //read the sector user data

View File

@ -102,7 +102,7 @@ namespace BizHawk.Emulation.DiscSystem
//actually load it all up //actually load it all up
var loadJob = new CUE_Format2.LoadCueJob(); var loadJob = new CUE_Format2.LoadCueJob();
loadJob.IN_AnalyzeJob = analyzeJob; loadJob.IN_AnalyzeJob = analyzeJob;
cue2.LoadCueFile(loadJob); loadJob.Run();
if (loadJob.OUT_Log != "") Console.WriteLine(loadJob.OUT_Log); if (loadJob.OUT_Log != "") Console.WriteLine(loadJob.OUT_Log);
ConcatenateJobLog(analyzeJob); ConcatenateJobLog(analyzeJob);

View File

@ -54,6 +54,7 @@ namespace BizHawk.Emulation.DiscSystem
/// <summary> /// <summary>
/// Synthesizes the DiscStructure from RawTOCEntriesJob /// Synthesizes the DiscStructure from RawTOCEntriesJob
/// TODO - move to attic, not being used /// TODO - move to attic, not being used
/// WOULD BE NICE TO USE FOR CUE
/// </summary> /// </summary>
public class SynthesizeFromRawTOCEntriesJob public class SynthesizeFromRawTOCEntriesJob
{ {