Zach Hilman
63f26d5c40
Add support for decrypted NCA files ( #567 )
* Start to add NCA support in loader
* More nca stuff
* More changes to nca.cpp
* Now identifies decrypted NCA cont.
* Game list fixes and more structs and stuff
* More updates to Nca class
* Now reads ExeFs (i think)
* ACTUALLY LOADS EXEFS!
* RomFS loads and games execute
* Cleanup and Finalize
* plumbing, cleanup and testing
* fix some things that i didnt think of before
* Preliminary Review Changes
* Review changes for bunnei and subv
8 years ago
Lioncash
7c9644646f
general: Make formatting of logged hex values more straightforward
This makes the formatting expectations more obvious (e.g. any zero padding specified
is padding that's entirely dedicated to the value being printed, not any pretty-printing
that also gets tacked on).
8 years ago
Lioncash
8475496630
general: Convert assertion macros over to be fmt-compatible
8 years ago
Lioncash
cc2e14ec2a
loader: Move old logging macros over to new fmt-capable ones
8 years ago
Subv
a70ed9c8ae
Kernel: Use 0x2C as default main thread priority for homebrew and lone NRO/NSOs
8 years ago
bunnei
b27ab46bde
memory: Fix stack region.
8 years ago
bunnei
8581404482
kernel: Move stack region outside of application heap.
8 years ago
bunnei
7d6653268f
core: Move process creation out of global state.
8 years ago
Subv
827f8ca3c7
Kernel: Store the program id in the Process class instead of the CodeSet class.
There may be many CodeSets per Process, so it's wasteful and overcomplicated to store the program id in each of them.
8 years ago
shinyquagsire23
487f8bc018
loader: Check error on NPDM load, use TID for CodeSet
8 years ago
Lioncash
e6bf72877f
nso: Silence formatting specifier warnings
8 years ago
bunnei
386df282a3
loader: Clean up ctors and includes.
8 years ago
bunnei
023aef053c
loader: Refactor to also pass filepath into IdentifyType.
8 years ago
bunnei
2dafd0d287
nso: Remove code specific to directory loading.
8 years ago
gdkchan
c65ac49238
Remove relocation on NSO/NRO
8 years ago
MerryMage
e35644c005
clang-format
8 years ago
Rozlette
09bcc2042c
nso: Modify .bss size calculation logic
8 years ago
bunnei
6f904bb622
nso: Load subsdk4 if available.
8 years ago
bunnei
1247c53786
yuzu: Update license text to be consistent across project.
8 years ago
bunnei
bc77a7580e
nso: Always load the filepath specified by the user.
8 years ago
bunnei
3f0caefdf5
nso: Load more common submodules.
8 years ago
bunnei
9ceb0d9381
memory: Support 32-bit paging, move heap address space up.
8 years ago
bunnei
746c2a3ae7
core: Refactor MakeMagic usage and remove dead code.
8 years ago
bunnei
12c7469d81
nso: Add a log for loading submodules.
8 years ago
bunnei
23ce4f5afc
loader: Various improvements for NSO/NRO loaders.
8 years ago
bunnei
33ea53094c
loader: Add support for NRO, as well as various fixes and shared linker.
8 years ago
bunnei
d454364bca
nso: Fixes to support homebrew NSOs without a MOD header.
8 years ago
bunnei
8c92435ded
nso: Refactor and allocate .bss section.
8 years ago
bunnei
6bafd3f4f7
loader: Add support for loading an NSO.
9 years ago