Lioncash
1b310cbb3a
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
324ee31fc3
general: Convert assertion macros over to be fmt-compatible
8 years ago
Lioncash
ff63e4d3fc
loader: Move old logging macros over to new fmt-capable ones
8 years ago
Subv
4be07d1090
Kernel: Use 0x2C as default main thread priority for homebrew and lone NRO/NSOs
8 years ago
N00byKing
6d5b25c136
core, main.h: Abort on 32Bit ROMs ( #309 )
* core, main.h: Abort on 32Bit ROMs
* main.cpp: Fix Grammar
8 years ago
N00byKing
ba7cd88412
deconstructed_rom_directory.cpp: Fix Typo
8 years ago
bunnei
36cdd5a39c
memory: Fix stack region.
8 years ago
N00byKing
1212e9e231
Clean Warnings (?)
8 years ago
bunnei
a26561ce20
kernel: Move stack region outside of application heap.
8 years ago
bunnei
f16763ed52
core: Move process creation out of global state.
8 years ago
Subv
a9c51be95e
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
d5e38de1ec
loader: Check error on NPDM load, use TID for CodeSet
8 years ago
shinyquagsire23
013d8828a3
loader: Use NPDM information when loading NSOs
8 years ago
Lioncash
0dc7699bf2
nso: Silence formatting specifier warnings
8 years ago
Lioncash
bf863bdb34
deconstructed_rom_directory: Silence formatting specifier warnings
8 years ago
David Marcec
a6eb36e548
Changed .istorage to .romfs
8 years ago
bunnei
985c960e85
deconstructed_rom_directory: Implement istorage loading for RomFS.
8 years ago
Rozlette
76b2dabd35
loader: Minor style fix in deconstructed_rom_directory
8 years ago
James Rowe
ea88c44eb8
Format: Run the new clang format on everything
8 years ago
bunnei
9b7e8a2e2b
loader: Clean up ctors and includes.
8 years ago
bunnei
b870202ad5
loader: Add DeconstructedRomDirectory for game dumps.
8 years ago
bunnei
f2d6ec1404
loader: Refactor to also pass filepath into IdentifyType.
8 years ago
bunnei
965c2bddb2
nso: Remove code specific to directory loading.
8 years ago
gdkchan
bb3209e8f1
Fix NRO Entry Point
8 years ago
gdkchan
89f7882ab4
Fix NRO loading
8 years ago
gdkchan
1402e97994
Remove relocation on NSO/NRO
8 years ago
MerryMage
41bfd994f6
clang-format
8 years ago
Rozlette
2e5806922f
nso: Modify .bss size calculation logic
8 years ago
bunnei
7fe337b38d
nso: Load subsdk4 if available.
8 years ago
Thog
84ad54795f
Add missing FileType declarations in GuessFromExtension and GetFileTypeString
8 years ago
bunnei
182548ec86
yuzu: Update license text to be consistent across project.
8 years ago
bunnei
02dba7283f
nso: Always load the filepath specified by the user.
8 years ago
bunnei
0fba69c235
nso: Load more common submodules.
8 years ago
bunnei
ec6eb66383
memory: Support 32-bit paging, move heap address space up.
8 years ago
bunnei
5e11c12766
core: Refactor MakeMagic usage and remove dead code.
8 years ago
bunnei
14ebd959bd
nso: Add a log for loading submodules.
8 years ago
bunnei
e36d959e34
Remove more 3DS-specific code.
8 years ago
bunnei
5993f6f6de
Remove lots more 3DS-specific code.
8 years ago
bunnei
e36ccd5ff1
loader: Various improvements for NSO/NRO loaders.
8 years ago
bunnei
90cc352a37
loader: Add support for NRO, as well as various fixes and shared linker.
8 years ago
bunnei
f44ce614ef
nso: Fixes to support homebrew NSOs without a MOD header.
8 years ago
shinyquagsire23
9c8cdede44
file_sys, loader: add support for reading TMDs to determine app paths
8 years ago
bunnei
6d3b6e0041
nso: Refactor and allocate .bss section.
8 years ago
bunnei
0e04a4ffd6
loader: Add support for loading an NSO.
8 years ago
bunnei
d13377a2a9
elf: Check if machine is ARM.
9 years ago
Subv
11920a6bd1
Loaders: Don't automatically set the current process every time we load an application.
The loaders will now just create a Kernel::Process, construct it and return it to the caller, which is responsible for setting it as the current process and configuring the global page table.
8 years ago
Subv
f2b635a73d
HLE/Archives: Allow multiple loaded applications to access their SelfNCCH archive independently.
The loaders now register each loaded ROM with the SelfNCCH factory, which keeps the data around for the duration of the emulation session.
When opening the SelfNCCH archive, the factory queries the current program's programid and uses that as a key to the map that contains the NCCHData structure (RomFS, Icon, Banner, etc).
3dsx files do not have a programid and will use a default of 0 for this value, thus, only 1 3dsx file with RomFS is loadable at the same time.
8 years ago
Max Thomas
042b389b57
Loader/NCCH: Add support for loading application updates ( #2927 )
* loader/ncch: split NCCH parsing into its own file
* loader/ncch: add support for loading update NCCHs from the SD card
* loader/ncch: fix formatting
* file_sys/ncch_container: Return a value for OpenFile
* loader/ncch: cleanup, always instantiate overlay_ncch to base_ncch
* file_sys/ncch_container: better encryption checks, allow non-app NCCHs to load properly and for the existence of NCCH structures to be checked
* file_sys/ncch_container: pass filepath as a const reference
8 years ago
MerryMage
6b8ad273fc
memory: Add GetCurrentPageTable/SetCurrentPageTable
Don't expose Memory::current_page_table as a global.
8 years ago
Subv
36100ec791
Kernel/Memory: Give each Process its own page table.
The loader is in charge of setting the newly created process's page table as the main one during the loading process.
9 years ago