Make TasStateManagerSettings use default values from the config, next step: a ui to change the config values
This commit is contained in:
parent
f930622b5e
commit
48eb40449c
|
@ -526,6 +526,7 @@ namespace BizHawk.Client.Common
|
|||
// TAStudio Dialog
|
||||
public ToolDialogSettings TAStudioSettings = new ToolDialogSettings();
|
||||
public RecentFiles RecentTas = new RecentFiles(8);
|
||||
public TasStateManagerSettings DefaultTasProjSettings = new TasStateManagerSettings();
|
||||
public bool AutoloadTAStudio = false;
|
||||
public bool AutoloadTAStudioProject = false;
|
||||
public bool TAStudioDrawInput = true;
|
||||
|
|
|
@ -43,7 +43,7 @@ namespace BizHawk.Client.Common
|
|||
public TasStateManager(TasMovie movie)
|
||||
{
|
||||
_movie = movie;
|
||||
Settings = new TasStateManagerSettings();
|
||||
Settings = new TasStateManagerSettings(Global.Config.DefaultTasProjSettings);
|
||||
|
||||
var cap = Settings.Cap;
|
||||
|
||||
|
|
|
@ -12,6 +12,12 @@ namespace BizHawk.Client.Common
|
|||
Capacitymb = 512;
|
||||
}
|
||||
|
||||
public TasStateManagerSettings(TasStateManagerSettings settings)
|
||||
{
|
||||
SaveGreenzone = settings.SaveGreenzone;
|
||||
Capacitymb = settings.Capacitymb;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not to save greenzone information to disk
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in New Issue