diff --git a/src/BizHawk.Client.DiscoHawk/DiscoHawk.cs b/src/BizHawk.Client.DiscoHawk/DiscoHawk.cs
index 2c14de088c..2efb37f78a 100644
--- a/src/BizHawk.Client.DiscoHawk/DiscoHawk.cs
+++ b/src/BizHawk.Client.DiscoHawk/DiscoHawk.cs
@@ -318,11 +318,12 @@ namespace BizHawk.Client.DiscoHawk
sw.WriteLine("BEGIN COMPARE: {0}\nSRC {1} vs DST {2}", infile, loadDiscInterface, cmpif);
//reload the original disc, with new policies as needed
- var dmj = new DiscMountJob { IN_DiscInterface = loadDiscInterface, IN_FromPath = infile };
- if (cmpif == DiscInterface.MednaDisc)
+ var dmj = new DiscMountJob
{
- dmj.IN_DiscMountPolicy.CUE_PregapContradictionModeA = false;
- }
+ IN_DiscInterface = loadDiscInterface,
+ IN_DiscMountPolicy = new DiscMountPolicy { CUE_PregapContradictionModeA = cmpif != DiscInterface.MednaDisc },
+ IN_FromPath = infile
+ };
dmj.Run();
diff --git a/src/BizHawk.Emulation.DiscSystem/DiscFormats/CUE/CUE_Compile.cs b/src/BizHawk.Emulation.DiscSystem/DiscFormats/CUE/CUE_Compile.cs
index 82c2bea13c..13ba400c38 100644
--- a/src/BizHawk.Emulation.DiscSystem/DiscFormats/CUE/CUE_Compile.cs
+++ b/src/BizHawk.Emulation.DiscSystem/DiscFormats/CUE/CUE_Compile.cs
@@ -121,33 +121,33 @@ namespace BizHawk.Emulation.DiscSystem.CUE
///
/// input: the CueFile to analyze
///
- public CUE_File IN_CueFile;
+ public CUE_File IN_CueFile { private get; set; }
///
/// The context used for this compiling job
/// TODO - rename something like context
///
- public CUE_Context IN_CueContext;
+ public CUE_Context IN_CueContext { internal get; set; }
///
/// output: high level disc info
///
- public CompiledDiscInfo OUT_CompiledDiscInfo;
+ public CompiledDiscInfo OUT_CompiledDiscInfo { get; private set; }
///
/// output: CD-Text set at the global level (before any track commands)
///
- public CompiledCDText OUT_GlobalCDText;
+ public CompiledCDText OUT_GlobalCDText { get; private set; }
///
/// output: The compiled file info
///
- public List OUT_CompiledCueFiles;
+ public List OUT_CompiledCueFiles { get; private set; }
///
/// output: The compiled track info
///
- public List OUT_CompiledCueTracks;
+ public List OUT_CompiledCueTracks { get; private set; }
///
/// output: An integer between 0 and 10 indicating how costly it will be to load this disc completely.
@@ -156,7 +156,7 @@ namespace BizHawk.Emulation.DiscSystem.CUE
/// 1 - Requires minimal processing (indexing ECM)
/// 10 - Requires ages, decoding audio data, etc.
///
- public int OUT_LoadTime;
+ public int OUT_LoadTime { get; private set; }
//-----------------------------------------------------------------
diff --git a/src/BizHawk.Emulation.DiscSystem/DiscFormats/CUE/CUE_Load.cs b/src/BizHawk.Emulation.DiscSystem/DiscFormats/CUE/CUE_Load.cs
index dfba6d2897..ae30150550 100644
--- a/src/BizHawk.Emulation.DiscSystem/DiscFormats/CUE/CUE_Load.cs
+++ b/src/BizHawk.Emulation.DiscSystem/DiscFormats/CUE/CUE_Load.cs
@@ -33,12 +33,12 @@ namespace BizHawk.Emulation.DiscSystem.CUE
///
/// The results of the compile job, a prerequisite for this
///
- public CompileCueJob IN_CompileJob;
+ public CompileCueJob IN_CompileJob { private get; set; }
///
/// The resulting disc
///
- public Disc OUT_Disc;
+ public Disc OUT_Disc { get; private set; }
private enum BurnType
{
diff --git a/src/BizHawk.Emulation.DiscSystem/DiscFormats/CUE/CUE_Parse.cs b/src/BizHawk.Emulation.DiscSystem/DiscFormats/CUE/CUE_Parse.cs
index 648d99718f..4f157bdc62 100644
--- a/src/BizHawk.Emulation.DiscSystem/DiscFormats/CUE/CUE_Parse.cs
+++ b/src/BizHawk.Emulation.DiscSystem/DiscFormats/CUE/CUE_Parse.cs
@@ -17,17 +17,17 @@ namespace BizHawk.Emulation.DiscSystem.CUE
///
/// input: the cue string to parse
///
- public string IN_CueString;
+ public string IN_CueString { private get; set; }
///
/// output: the resulting minimally-processed cue file
///
- public CUE_File OUT_CueFile;
+ public CUE_File OUT_CueFile { get; private set; }
///
/// Indicates whether parsing will be strict or lenient
///
- public bool IN_Strict = false;
+ public bool IN_Strict { private get; set; } = false;
class CueLineParser
diff --git a/src/BizHawk.Emulation.DiscSystem/DiscJob.cs b/src/BizHawk.Emulation.DiscSystem/DiscJob.cs
index a420dd8c30..e15e5e8949 100644
--- a/src/BizHawk.Emulation.DiscSystem/DiscJob.cs
+++ b/src/BizHawk.Emulation.DiscSystem/DiscJob.cs
@@ -27,12 +27,12 @@ namespace BizHawk.Emulation.DiscSystem
///
/// Whether there were any errors
///
- public bool OUT_ErrorLevel = false;
+ public bool OUT_ErrorLevel { get; private set; } = false;
///
/// output: log transcript of the job
///
- public string OUT_Log;
+ public string OUT_Log { get; private set; }
///
/// Finishes logging. Flushes the output and closes the logging mechanism
diff --git a/src/BizHawk.Emulation.DiscSystem/DiscMountJob.cs b/src/BizHawk.Emulation.DiscSystem/DiscMountJob.cs
index fe64637ea7..94e6dd53a0 100644
--- a/src/BizHawk.Emulation.DiscSystem/DiscMountJob.cs
+++ b/src/BizHawk.Emulation.DiscSystem/DiscMountJob.cs
@@ -14,34 +14,34 @@ namespace BizHawk.Emulation.DiscSystem
///
/// The filename to be loaded
///
- public string IN_FromPath;
+ public string IN_FromPath { private get; set; }
///
/// Slow-loading cues won't finish loading if this threshold is exceeded.
/// Set to 10 to always load a cue
///
- public int IN_SlowLoadAbortThreshold = 10;
+ public int IN_SlowLoadAbortThreshold { private get; set; } = 10;
///
/// Cryptic policies to be used when mounting the disc.
///
- public DiscMountPolicy IN_DiscMountPolicy = new DiscMountPolicy();
+ public DiscMountPolicy IN_DiscMountPolicy { private get; set; } = new DiscMountPolicy();
///
/// The interface to be used for loading the disc.
/// Usually you'll want DiscInterface.BizHawk, but others can be used for A/B testing
///
- public DiscInterface IN_DiscInterface = DiscInterface.BizHawk;
+ public DiscInterface IN_DiscInterface { private get; set; } = DiscInterface.BizHawk;
///
/// The resulting disc
///
- public Disc OUT_Disc;
+ public Disc OUT_Disc { get; private set; }
///
/// Whether a mount operation was aborted due to being too slow
///
- public bool OUT_SlowLoadAborted;
+ public bool OUT_SlowLoadAborted { get; private set; }
/// is
public void Run()
diff --git a/src/BizHawk.Emulation.DiscSystem/Internal/Jobs/LoadSBIJob.cs b/src/BizHawk.Emulation.DiscSystem/Internal/Jobs/LoadSBIJob.cs
index 9a8cfee4e7..82a21c4866 100644
--- a/src/BizHawk.Emulation.DiscSystem/Internal/Jobs/LoadSBIJob.cs
+++ b/src/BizHawk.Emulation.DiscSystem/Internal/Jobs/LoadSBIJob.cs
@@ -13,12 +13,12 @@ namespace BizHawk.Emulation.DiscSystem.SBI
///
/// The file to be loaded
///
- public string IN_Path;
+ public string IN_Path { private get; set; }
///
/// The resulting interpreted data
///
- public SubQPatchData OUT_Data;
+ public SubQPatchData OUT_Data { get; private set; }
/// file at does not contain valid header or contains misformatted record
public void Run()
diff --git a/src/BizHawk.Emulation.DiscSystem/Internal/Jobs/Synthesize_A0A1A2_Job.cs b/src/BizHawk.Emulation.DiscSystem/Internal/Jobs/Synthesize_A0A1A2_Job.cs
index c878ee6c30..bfe638ebf6 100644
--- a/src/BizHawk.Emulation.DiscSystem/Internal/Jobs/Synthesize_A0A1A2_Job.cs
+++ b/src/BizHawk.Emulation.DiscSystem/Internal/Jobs/Synthesize_A0A1A2_Job.cs
@@ -14,22 +14,22 @@ namespace BizHawk.Emulation.DiscSystem
///
/// "First Recorded Track Number" value for TOC (usually 1)
///
- public int IN_FirstRecordedTrackNumber;
+ public int IN_FirstRecordedTrackNumber { private get; set; }
///
/// "Last Recorded Track Number" value for TOC
///
- public int IN_LastRecordedTrackNumber;
+ public int IN_LastRecordedTrackNumber { private get; set; }
///
/// The absolute timestamp of the lead-out track
///
- public int IN_LeadoutTimestamp;
+ public int IN_LeadoutTimestamp { private get; set; }
///
/// The session format for this TOC
///
- public SessionFormat IN_Session1Format;
+ public SessionFormat IN_Session1Format { private get; set; }
/// appends the new entries to the provided list
/// is or a non-member
diff --git a/src/BizHawk.Emulation.DiscSystem/Internal/Jobs/Synthesize_DiscStructure_From_DiscTOC_Job.cs b/src/BizHawk.Emulation.DiscSystem/Internal/Jobs/Synthesize_DiscStructure_From_DiscTOC_Job.cs
index 4cafddceee..bdf356b842 100644
--- a/src/BizHawk.Emulation.DiscSystem/Internal/Jobs/Synthesize_DiscStructure_From_DiscTOC_Job.cs
+++ b/src/BizHawk.Emulation.DiscSystem/Internal/Jobs/Synthesize_DiscStructure_From_DiscTOC_Job.cs
@@ -4,7 +4,7 @@ namespace BizHawk.Emulation.DiscSystem
{
class Synthesize_DiscStructure_From_DiscTOC_Job
{
- public Disc IN_Disc;
+ public Disc IN_Disc { private get; set; }
public DiscTOC TOCRaw;
public DiscStructure Result;