From 2e2c74199d905c9168c9fa9f71bb664cdfaa9e88 Mon Sep 17 00:00:00 2001 From: Jacob Garber Date: Thu, 1 Aug 2019 16:00:53 -0600 Subject: [PATCH] Do not wipe the gen1 ME region when -s is passed --- me_cleaner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/me_cleaner.py b/me_cleaner.py index c2adf0e..8ecf32a 100755 --- a/me_cleaner.py +++ b/me_cleaner.py @@ -731,7 +731,8 @@ def start_end_to_flreg(start, end): ("SET" if pchstrp0 & 1 << 16 else "NOT SET")) # Generation 1: wipe everything and disable the ME region - if gen == 1 and me_start < me_end and not args.check: + if gen == 1 and me_start < me_end and not args.check and not \ + args.soft_disable_only: print("Disabling the ME region...") f.seek(frba + 0x8) f.write(pack("