From 8361a415f11033cd388e78315082a64611f099d2 Mon Sep 17 00:00:00 2001 From: Alcaro Date: Sun, 16 Sep 2018 14:27:05 +0200 Subject: [PATCH] Fix #13 --- libips.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libips.cpp b/libips.cpp index c9bfec9..5f837d2 100644 --- a/libips.cpp +++ b/libips.cpp @@ -65,7 +65,8 @@ enum ipserror ips_study(struct mem patch, struct ipsstudy * study) thisout = offset + size; patchat += size; } - if (offset < lastoffset) w_scrambled = true; + //turns out this messes up automatically created patches. https://github.com/Alcaro/Flips/issues/13 + //if (offset < lastoffset) w_scrambled = true; lastoffset = offset; if (thisout > outlen) outlen = thisout; if (patchat >= patchend) return ips_invalid;