rename a variable

This commit is contained in:
adelikat 2020-03-01 16:05:04 -06:00
parent 10df3b194e
commit 5bea6efe5f
2 changed files with 5 additions and 5 deletions

View File

@ -10,9 +10,9 @@ namespace BizHawk.Client.Common
{
public static bool DefaultToDisk { get; set; }
public static bool DefaultToAWE { get; set; }
public static bool DefaultToAwe { get; set; }
/// <exception cref="InvalidOperationException"><see cref="DefaultToAWE"/> is <see langword="true"/> but not running on Windows host</exception>
/// <exception cref="InvalidOperationException"><see cref="DefaultToAwe"/> is <see langword="true"/> but not running on Windows host</exception>
public static IStringLog MakeStringLog()
{
if (DefaultToDisk)
@ -20,7 +20,7 @@ namespace BizHawk.Client.Common
return new StreamStringLog(true);
}
if (DefaultToAWE)
if (DefaultToAwe)
{
return OSTailoredCode.IsUnixHost
? throw new InvalidOperationException("logging to AWE is only available on Windows for now")
@ -51,7 +51,7 @@ namespace BizHawk.Client.Common
{
public IStringLog Clone()
{
ListStringLog ret = new ListStringLog();
var ret = new ListStringLog();
ret.AddRange(this);
return ret;
}

View File

@ -121,7 +121,7 @@ namespace BizHawk.Client.EmuHawk
Global.Config.ResolveDefaults();
StringLogUtil.DefaultToDisk = Global.Config.MoviesOnDisk;
StringLogUtil.DefaultToAWE = Global.Config.MoviesInAwe;
StringLogUtil.DefaultToAwe = Global.Config.MoviesInAwe;
// super hacky! this needs to be done first. still not worth the trouble to make this system fully proper
if (Array.Exists(args, arg => arg.StartsWith("--gdi", StringComparison.InvariantCultureIgnoreCase)))