From d704452c28eda0846f78649f44b48121d26a5281 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Fri, 2 Jun 2017 17:27:57 +0200 Subject: [PATCH] Updated BrahmaLoader submodule --- BrahmaLoader | 2 +- source/nand/nand.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BrahmaLoader b/BrahmaLoader index 790de3b..8f78378 160000 --- a/BrahmaLoader +++ b/BrahmaLoader @@ -1 +1 @@ -Subproject commit 790de3b9e83191249f737d8af9408b3c61b6e24d +Subproject commit 8f783782ad2a1c1f6f6cdd60ba53ca3a91a26e29 diff --git a/source/nand/nand.h b/source/nand/nand.h index eb55400..0d82bf1 100644 --- a/source/nand/nand.h +++ b/source/nand/nand.h @@ -68,13 +68,13 @@ void CryptNand(void* buffer, u32 sector, u32 count, u32 keyslot); void CryptSector0x96(void* buffer, bool encrypt); int ReadNandBytes(void* buffer, u64 offset, u64 count, u32 keyslot, u32 nand_src); int WriteNandBytes(const void* buffer, u64 offset, u64 count, u32 keyslot, u32 nand_dst); -int ReadNandSectors(void* buffer, u32 sector, u32 count, u32 keyslot, u32 src); -int WriteNandSectors(const void* buffer, u32 sector, u32 count, u32 keyslot, u32 dest); +int ReadNandSectors(void* buffer, u32 sector, u32 count, u32 keyslot, u32 nand_src); +int WriteNandSectors(const void* buffer, u32 sector, u32 count, u32 keyslot, u32 nand_dest); u32 ValidateNandNcsdHeader(NandNcsdHeader* header); u32 GetNandNcsdMinSizeSectors(NandNcsdHeader* ncsd); u32 GetNandMinSizeSectors(u32 nand_src); -u32 GetNandSizeSectors(u32 src); +u32 GetNandSizeSectors(u32 nand_src); u32 GetNandNcsdPartitionInfo(NandPartitionInfo* info, u32 type, u32 subtype, u32 index, NandNcsdHeader* ncsd); u32 GetNandPartitionInfo(NandPartitionInfo* info, u32 type, u32 subtype, u32 index, u32 nand_src);