mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-06 11:01:38 +12:00
More NCSD loading
This commit is contained in:
parent
9a040e1cde
commit
f6c2e390c1
11 changed files with 142 additions and 17 deletions
|
@ -1,15 +1,19 @@
|
|||
#pragma once
|
||||
#include "helpers.hpp"
|
||||
|
||||
struct NCCH {
|
||||
bool isNew3DS = false;
|
||||
bool initialized = false;
|
||||
bool compressExeFS = false;
|
||||
bool mountRomFS = false;
|
||||
bool encrypted = false;
|
||||
|
||||
static constexpr u64 mediaUnit = 0x200;
|
||||
u64 size = 0; // Size of NCCH converted to bytes
|
||||
u32 stackSize = 0;
|
||||
u32 bssSize = 0;
|
||||
|
||||
// Header: 0x200 byte NCCH header
|
||||
// Header: 0x200 + 0x800 byte NCCH header + exheadr
|
||||
// Returns true on success, false on failure
|
||||
bool loadFromHeader(u8* header);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue