Oops
This commit is contained in:
parent
c033b26ad0
commit
86fc66820c
|
@ -12,7 +12,7 @@ namespace BizHawk.Client.Common
|
||||||
{
|
{
|
||||||
public sealed partial class TasMovie : Bk2Movie, INotifyPropertyChanged
|
public sealed partial class TasMovie : Bk2Movie, INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
private readonly Bk2MnemonicConstants MnemonicConstants = new Bk2MnemonicConstants();
|
private readonly Bk2MnemonicConstants Mnemonics = new Bk2MnemonicConstants();
|
||||||
private List<bool> LagLog = new List<bool>();
|
private List<bool> LagLog = new List<bool>();
|
||||||
private readonly TasStateManager StateManager;
|
private readonly TasStateManager StateManager;
|
||||||
public TasMovieMarkerList Markers { get; set; }
|
public TasMovieMarkerList Markers { get; set; }
|
||||||
|
@ -127,7 +127,6 @@ namespace BizHawk.Client.Common
|
||||||
Changes = true; // TODO check if this actually removed anything before flagging changes
|
Changes = true; // TODO check if this actually removed anything before flagging changes
|
||||||
}
|
}
|
||||||
|
|
||||||
private readonly Bk2MnemonicConstants Mnemonics = new Bk2MnemonicConstants();
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the mnemonic value for boolean buttons, and actual value for floats,
|
/// Returns the mnemonic value for boolean buttons, and actual value for floats,
|
||||||
/// for a given frame and button.
|
/// for a given frame and button.
|
||||||
|
@ -143,7 +142,7 @@ namespace BizHawk.Client.Common
|
||||||
if (adapter.Type.BoolButtons.Contains(buttonName))
|
if (adapter.Type.BoolButtons.Contains(buttonName))
|
||||||
{
|
{
|
||||||
return adapter.IsPressed(buttonName) ?
|
return adapter.IsPressed(buttonName) ?
|
||||||
MnemonicConstants[buttonName].ToString() :
|
Mnemonics[buttonName].ToString() :
|
||||||
string.Empty;
|
string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue