patch manager: avoid patch import inconsistencies

Save the original patch value instead of the interpreted value
This commit is contained in:
Megamouse
2020-06-19 14:04:39 +02:00
parent 2323cd2a2d
commit 591624b96c
2 changed files with 6 additions and 22 deletions
+1
View File
@@ -31,6 +31,7 @@ public:
{
patch_type type = patch_type::load;
u32 offset = 0;
std::string original_value; // Used for import consistency (avoid rounding etc.)
union
{
u64 long_value;