Reverted some changes I thought was improving the readability, but was really just breaking the correctly programmed stuff =D
This commit is contained in:
parent
003a71cb5a
commit
386b26ccbe
|
@ -338,7 +338,7 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
public void SetHeaderLine(string key, string value)
|
public void SetHeaderLine(string key, string value)
|
||||||
{
|
{
|
||||||
Header.AddHeaderLine(key, value);
|
Header.SetHeaderLine(key, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public string GetTime()
|
public string GetTime()
|
||||||
|
|
|
@ -53,7 +53,10 @@ namespace BizHawk.MultiClient
|
||||||
/// <param name="value"></param>
|
/// <param name="value"></param>
|
||||||
public void AddHeaderLine(string key, string value)
|
public void AddHeaderLine(string key, string value)
|
||||||
{
|
{
|
||||||
HeaderParams.Add(key, value);
|
string temp = value;
|
||||||
|
|
||||||
|
if(!HeaderParams.TryGetValue(key, out temp)) //TODO: does a failed attempt mess with value?
|
||||||
|
HeaderParams.Add(key, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UpdateRerecordCount(int count)
|
public void UpdateRerecordCount(int count)
|
||||||
|
@ -77,5 +80,10 @@ namespace BizHawk.MultiClient
|
||||||
HeaderParams.TryGetValue(key, out value);
|
HeaderParams.TryGetValue(key, out value);
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetHeaderLine(string key, string value)
|
||||||
|
{
|
||||||
|
HeaderParams[key] = value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue