mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-06 11:01:38 +12:00
Add IOFile and headers for NCSD/NCCH
This commit is contained in:
parent
7ba5c5a1bc
commit
9a040e1cde
4 changed files with 116 additions and 1 deletions
15
include/loader/ncch.hpp
Normal file
15
include/loader/ncch.hpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
#include "helpers.hpp"
|
||||
|
||||
struct NCCH {
|
||||
bool isNew3DS = false;
|
||||
bool initialized = false;
|
||||
bool mountRomFS = false;
|
||||
bool encrypted = false;
|
||||
|
||||
static constexpr u64 mediaUnit = 0x200;
|
||||
u64 size = 0; // Size of NCCH converted to bytes
|
||||
|
||||
// Header: 0x200 byte NCCH header
|
||||
// Returns true on success, false on failure
|
||||
bool loadFromHeader(u8* header);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue