From 0898f96a3846be90a3a22f853912830eca5ab2ab Mon Sep 17 00:00:00 2001 From: chaoskagami Date: Thu, 16 Jun 2016 18:04:15 -0400 Subject: [PATCH] Implement reverse emunand. This is untested (but will be soon after manual injection) --- source/patch/emunand.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/patch/emunand.c b/source/patch/emunand.c index fc796da..75aed8b 100644 --- a/source/patch/emunand.c +++ b/source/patch/emunand.c @@ -46,6 +46,7 @@ verify_emunand(uint32_t index, uint32_t *off, uint32_t *head) if (config.options[OPTION_EMUNAND_REVERSE]) { // Subtract offset from back of disk. + offset = getMMCDevice(1)->total_size - offset; } // Check for RedNAND/Normal physical layout on SD -- 2.39.5