quick cleanup of spammy cue loading console output
This commit is contained in:
parent
50546e3f9e
commit
7dacc07a7d
|
@ -348,6 +348,8 @@ namespace BizHawk.Emulation.DiscSystem
|
||||||
index0.FileMSF = index1.FileMSF; //same MSF as index 1 will make it effectively nonexistent
|
index0.FileMSF = index1.FileMSF; //same MSF as index 1 will make it effectively nonexistent
|
||||||
|
|
||||||
//well now, if it's the first in the file, an implicit index will take its value from 00:00:00 in the file
|
//well now, if it's the first in the file, an implicit index will take its value from 00:00:00 in the file
|
||||||
|
//this is the kind of thing I sought to solve originally by 'interpreting' the file, but it seems easy enough to handle this way
|
||||||
|
//my carlin.cue tests this but test cases shouldnt be hard to find
|
||||||
if (curr_track.IsFirstInFile)
|
if (curr_track.IsFirstInFile)
|
||||||
index0.FileMSF = new Timestamp(0);
|
index0.FileMSF = new Timestamp(0);
|
||||||
|
|
||||||
|
|
|
@ -124,7 +124,8 @@ namespace BizHawk.Emulation.DiscSystem
|
||||||
cue_content = File.ReadAllText(cuePath);
|
cue_content = File.ReadAllText(cuePath);
|
||||||
parseJob.IN_CueString = cue_content;
|
parseJob.IN_CueString = cue_content;
|
||||||
cue2.ParseCueFile(parseJob);
|
cue2.ParseCueFile(parseJob);
|
||||||
if (parseJob.OUT_Log != "") Console.WriteLine(parseJob.OUT_Log);
|
//TODO - need better handling of log output
|
||||||
|
if (!string.IsNullOrEmpty(parseJob.OUT_Log)) Console.WriteLine(parseJob.OUT_Log);
|
||||||
ConcatenateJobLog(parseJob);
|
ConcatenateJobLog(parseJob);
|
||||||
|
|
||||||
//compile the cue file:
|
//compile the cue file:
|
||||||
|
@ -133,7 +134,8 @@ namespace BizHawk.Emulation.DiscSystem
|
||||||
compileJob.IN_CueFormat = cue2;
|
compileJob.IN_CueFormat = cue2;
|
||||||
compileJob.IN_CueFile = parseJob.OUT_CueFile;
|
compileJob.IN_CueFile = parseJob.OUT_CueFile;
|
||||||
compileJob.Run();
|
compileJob.Run();
|
||||||
if (compileJob.OUT_Log != "") Console.WriteLine(compileJob.OUT_Log);
|
//TODO - need better handling of log output
|
||||||
|
if (!string.IsNullOrEmpty(compileJob.OUT_Log)) Console.WriteLine(compileJob.OUT_Log);
|
||||||
ConcatenateJobLog(compileJob);
|
ConcatenateJobLog(compileJob);
|
||||||
|
|
||||||
//check slow loading threshold
|
//check slow loading threshold
|
||||||
|
@ -147,7 +149,8 @@ namespace BizHawk.Emulation.DiscSystem
|
||||||
var loadJob = new CUE_Format2.LoadCueJob();
|
var loadJob = new CUE_Format2.LoadCueJob();
|
||||||
loadJob.IN_CompileJob = compileJob;
|
loadJob.IN_CompileJob = compileJob;
|
||||||
loadJob.Run();
|
loadJob.Run();
|
||||||
if (loadJob.OUT_Log != "") Console.WriteLine(loadJob.OUT_Log);
|
//TODO - need better handling of log output
|
||||||
|
if (!string.IsNullOrEmpty(loadJob.OUT_Log)) Console.WriteLine(loadJob.OUT_Log);
|
||||||
ConcatenateJobLog(loadJob);
|
ConcatenateJobLog(loadJob);
|
||||||
|
|
||||||
OUT_Disc = loadJob.OUT_Disc;
|
OUT_Disc = loadJob.OUT_Disc;
|
||||||
|
|
Loading…
Reference in New Issue