Added JsonIgnore Attribute to private members

This commit is contained in:
null_ptr 2014-05-09 04:34:22 +00:00
parent d9ec48bb49
commit 1734267a7b
1 changed files with 2 additions and 0 deletions

View File

@ -442,6 +442,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.N64
TRANSFER_PAK = 4
}
[JsonIgnore]
private N64ControllerPakType _type = N64ControllerPakType.MEMORY_CARD;
/// <summary>
/// Type of the pak inserted in the controller
@ -459,6 +460,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.N64
set { _type = value; }
}
[JsonIgnore]
private bool _isConnected = true;
/// <summary>
/// Connection status of the controller i.e.: