mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Disable size checks for essential backup
This commit is contained in:
parent
33fabef720
commit
761a3a7a91
@ -62,10 +62,10 @@ u32 BuildEssentialBackup(const char* path, EssentialBackup* essential) {
|
|||||||
// mount original file
|
// mount original file
|
||||||
InitImgFS(path_bak);
|
InitImgFS(path_bak);
|
||||||
|
|
||||||
// check sizes
|
// check sizes - stubbed
|
||||||
if ((files[0].size != 0x200) || (files[1].size != 0x111) ||
|
/*if ((files[0].size != 0x200) || (files[1].size != 0x111) ||
|
||||||
((files[2].size != 0x120) && (files[2].size != 0x140)) || (files[3].size != 0x110))
|
((files[2].size != 0x120) && (files[2].size != 0x140)) || (files[3].size != 0x110))
|
||||||
return 1;
|
return 1;*/
|
||||||
|
|
||||||
// fill nand cid / otp hash
|
// fill nand cid / otp hash
|
||||||
if (GetNandCid(&(essential->nand_cid)) != 0) return 1;
|
if (GetNandCid(&(essential->nand_cid)) != 0) return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user