Mostly Fix #1696
This commit is contained in:
parent
33d9b08e39
commit
db1dc74591
|
@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -72,8 +72,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
set
|
||||
{
|
||||
_type = value;
|
||||
var val = ToRawInt();
|
||||
_type = value;
|
||||
SetMaxLength();
|
||||
SetFromRawInt(val);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue