Closed ckurtz22 closed 5 years ago
Will review PRs soon, thanks!
Something I just realized, I didn't add anything to the GUI for this setting so that might be something to check out. There is probably a way to auto detect if the image is an emuMMC or just normal rawnand.bin, would probably just check to see if the first section matches what BOOT0 would normally be. I might look into that later.
I’ll add a checkbox or something to the gui later (warning it’s not very good code)
Added support to mount switch emuMMC images. This is toggled with mount_nandhac by giving the -e flag. Needed a special case as emuMMC NAND images have BOOT0 and BOOT1 added to the beginning of them, so it needs to read everything from an offset.
When testing on my emuMMC partition on my SD, I had issues with a missing GPT backup header, but the image I flashed to my SD card had it. I might have messed up when flashing it, or may be an issue with emuMMC stuff causing it to go missing.