This commit is contained in:
alyosha-tas 2019-10-19 21:28:06 -04:00
parent 33d9b08e39
commit db1dc74591
2 changed files with 7 additions and 2 deletions

View File

@ -384,7 +384,9 @@ namespace BizHawk.Client.Common
}
else
{
// Set to hex for saving
// Set to hex for saving
var temp_cheat_type = cheat.Type;
cheat.SetType(DisplayType.Hex);
sb
@ -399,6 +401,9 @@ namespace BizHawk.Client.Common
.Append((cheat.BigEndian ?? false) ? '1' : '0').Append('\t')
.Append(cheat.ComparisonType).Append('\t')
.AppendLine();
cheat.SetType(temp_cheat_type);
}
}

View File

@ -72,8 +72,8 @@ namespace BizHawk.Client.EmuHawk
set
{
_type = value;
var val = ToRawInt();
_type = value;
SetMaxLength();
SetFromRawInt(val);
}