Fix exception when statrting from saveram multple times
This commit is contained in:
parent
655729f29c
commit
1c9182a290
|
@ -92,15 +92,21 @@ namespace BizHawk.Client.Common
|
|||
set
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
if (!Header.ContainsKey(HeaderKeys.STARTSFROMSAVERAM))
|
||||
{
|
||||
Header.Add(HeaderKeys.STARTSFROMSAVERAM, "True");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Header.ContainsKey(HeaderKeys.STARTSFROMSAVERAM))
|
||||
{
|
||||
Header.Remove(HeaderKeys.STARTSFROMSAVERAM);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string GameName
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue