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
N00byKing
358050cfc6
core, main.h: Abort on 32Bit ROMs ( #309 )
* core, main.h: Abort on 32Bit ROMs
* main.cpp: Fix Grammar
8 years ago
N00byKing
1aafb0f3a3
deconstructed_rom_directory.cpp: Fix Typo
8 years ago
bunnei
b27ab46bde
memory: Fix stack region.
8 years ago
N00byKing
ef875d6a35
Clean Warnings (?)
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
shinyquagsire23
fd3806fd30
loader: Use NPDM information when loading NSOs
8 years ago
Lioncash
e6bf72877f
nso: Silence formatting specifier warnings
8 years ago
Lioncash
2ade136ff4
deconstructed_rom_directory: Silence formatting specifier warnings
8 years ago
David Marcec
f9ba5a7e11
Changed .istorage to .romfs
8 years ago
bunnei
d9a91d7678
deconstructed_rom_directory: Implement istorage loading for RomFS.
8 years ago
Rozlette
3315af8f09
loader: Minor style fix in deconstructed_rom_directory
8 years ago
James Rowe
096be16636
Format: Run the new clang format on everything
8 years ago
bunnei
386df282a3
loader: Clean up ctors and includes.
8 years ago
bunnei
e75aba3ed0
loader: Add DeconstructedRomDirectory for game dumps.
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
3a409d5c8f
Fix NRO Entry Point
8 years ago
gdkchan
d3e63e4220
Fix NRO 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
Thog
06e288cea0
Add missing FileType declarations in GuessFromExtension and GetFileTypeString
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.
9 years ago
bunnei
9ceb0d9381
memory: Support 32-bit paging, move heap address space up.
9 years ago
bunnei
746c2a3ae7
core: Refactor MakeMagic usage and remove dead code.
9 years ago
bunnei
12c7469d81
nso: Add a log for loading submodules.
9 years ago
bunnei
dbd15b0d10
Remove more 3DS-specific code.
9 years ago
bunnei
72b03025ac
Remove lots more 3DS-specific code.
9 years ago
bunnei
23ce4f5afc
loader: Various improvements for NSO/NRO loaders.
9 years ago
bunnei
33ea53094c
loader: Add support for NRO, as well as various fixes and shared linker.
9 years ago
bunnei
d454364bca
nso: Fixes to support homebrew NSOs without a MOD header.
9 years ago
shinyquagsire23
4887d18591
file_sys, loader: add support for reading TMDs to determine app paths
9 years ago
bunnei
8c92435ded
nso: Refactor and allocate .bss section.
9 years ago
bunnei
6bafd3f4f7
loader: Add support for loading an NSO.
9 years ago
bunnei
1c4f9e822c
elf: Check if machine is ARM.
9 years ago
Subv
7f48aa8d25
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.
9 years ago
Subv
774e7deae8
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.
9 years ago
Max Thomas
c91ccbd0ba
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
9 years ago
MerryMage
c02bbb7030
memory: Add GetCurrentPageTable/SetCurrentPageTable
Don't expose Memory::current_page_table as a global.
9 years ago
Subv
6d2734a074
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
B3n30
5d0a1e7efd
Added missing parts in libnetwork ( #2838 )
* Network: Set and send the game information over enet
Added Callbacks for RoomMember and GetMemberList to Room in preparation for web_services.
9 years ago
bunnei
f5cf9960d9
loader: Expose program title.
9 years ago