mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-06 00:39:11 +00:00
misc
This commit is contained in:
@@ -681,7 +681,6 @@ bool IsCci(u8 *ncsd)
|
|||||||
u64 GetPartitionOffset(u8 *ncsd, u8 index)
|
u64 GetPartitionOffset(u8 *ncsd, u8 index)
|
||||||
{
|
{
|
||||||
cci_hdr *hdr = (cci_hdr*)ncsd;
|
cci_hdr *hdr = (cci_hdr*)ncsd;
|
||||||
u32 offset = ;
|
|
||||||
return (u64)u8_to_u64(hdr->offset_sizeTable[index].offset,LE) * (u64)GetCtrBlockSize(hdr->flags[cciflag_MEDIA_BLOCK_SIZE]);
|
return (u64)u8_to_u64(hdr->offset_sizeTable[index].offset,LE) * (u64)GetCtrBlockSize(hdr->flags[cciflag_MEDIA_BLOCK_SIZE]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user