Quick fix of save watch

Wrong ToString() method was called when writing
Reading was ok
This commit is contained in:
Hathor86 2015-11-30 18:27:55 +01:00
parent 3c07f7e649
commit ee860fd820
4 changed files with 8 additions and 8 deletions

View File

@ -132,10 +132,10 @@ namespace BizHawk.Client.Common
#endregion #endregion
public override string ToString() /*public override string ToString()
{ {
return Notes + ": " + ValueString; return Notes + ": " + ValueString;
} }*/
#region Properties #region Properties

View File

@ -97,10 +97,10 @@ namespace BizHawk.Client.Common
get { return FormatValue(GetDWord()); } get { return FormatValue(GetDWord()); }
} }
public override string ToString() /*public override string ToString()
{ {
return Notes + ": " + ValueString; return Notes + ": " + ValueString;
} }*/
public string FormatValue(uint val) public string FormatValue(uint val)
{ {

View File

@ -542,7 +542,7 @@ namespace BizHawk.Client.Common
, (Address ?? 0).ToHexString((Domain.Size - 1).NumHexDigits()) , (Address ?? 0).ToHexString((Domain.Size - 1).NumHexDigits())
, SizeAsChar , SizeAsChar
, TypeAsChar , TypeAsChar
, BigEndian , Convert.ToInt32(BigEndian)
, DomainName , DomainName
, Notes.Trim('\r', '\n') , Notes.Trim('\r', '\n')
); );

View File

@ -92,10 +92,10 @@ namespace BizHawk.Client.Common
get { return FormatValue(GetWord()); } get { return FormatValue(GetWord()); }
} }
public override string ToString() /*public override string ToString()
{ {
return Notes + ": " + ValueString; return Notes + ": " + ValueString;
} }*/
public string FormatValue(ushort val) public string FormatValue(ushort val)
{ {