aboutsummaryrefslogtreecommitdiff
path: root/src/core/loader
AgeCommit message (Collapse)Author
2018-01-14Add missing FileType declarations in GuessFromExtension and GetFileTypeStringThog
2018-01-13yuzu: Update license text to be consistent across project.bunnei
2018-01-07nso: Always load the filepath specified by the user.bunnei
2017-10-22nso: Load more common submodules.bunnei
2017-10-22memory: Support 32-bit paging, move heap address space up.bunnei
2017-10-15core: Refactor MakeMagic usage and remove dead code.bunnei
2017-10-14nso: Add a log for loading submodules.bunnei
2017-10-12Remove more 3DS-specific code.bunnei
2017-10-12Remove lots more 3DS-specific code.bunnei
2017-10-09Merge remote-tracking branch 'upstream/master' into nxbunnei
# Conflicts: # src/core/CMakeLists.txt # src/core/arm/dynarmic/arm_dynarmic.cpp # src/core/arm/dyncom/arm_dyncom.cpp # src/core/hle/kernel/process.cpp # src/core/hle/kernel/thread.cpp # src/core/hle/kernel/thread.h # src/core/hle/kernel/vm_manager.cpp # src/core/loader/3dsx.cpp # src/core/loader/elf.cpp # src/core/loader/ncch.cpp # src/core/memory.cpp # src/core/memory.h # src/core/memory_setup.h
2017-10-09loader: Various improvements for NSO/NRO loaders.bunnei
2017-10-05loader: Add support for NRO, as well as various fixes and shared linker.bunnei
2017-10-03nso: Fixes to support homebrew NSOs without a MOD header.bunnei
2017-10-01file_sys, loader: add support for reading TMDs to determine app pathsshinyquagsire23
2017-09-30nso: Refactor and allocate .bss section.bunnei
2017-09-30loader: Add support for loading an NSO.bunnei
2017-09-30elf: Check if machine is ARM.bunnei
2017-09-26Loaders: Don't automatically set the current process every time we load an ↵Subv
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.
2017-09-25HLE/Archives: Allow multiple loaded applications to access their SelfNCCH ↵Subv
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.
2017-09-25Merge pull request #2952 from MerryMage/page-tablesB3n30
Switchable Page Tables
2017-09-25Loader/NCCH: Add support for loading application updates (#2927)Max Thomas
* 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
2017-09-24memory: Add GetCurrentPageTable/SetCurrentPageTableMerryMage
Don't expose Memory::current_page_table as a global.
2017-09-10Kernel/Memory: Give each Process its own page table.Subv
The loader is in charge of setting the newly created process's page table as the main one during the loading process.
2017-08-19Added missing parts in libnetwork (#2838)B3n30
* Network: Set and send the game information over enet Added Callbacks for RoomMember and GetMemberList to Room in preparation for web_services.
2017-08-03loader: Expose program title.bunnei
2017-07-17telemetry: Log performance, configuration, and system data.bunnei
2017-06-02Addressed Bunnei's review comments, and made some other tweaks:TheKoopaKingdom
- Deleted GetStatus() because it wasn't used anywhere outside of Core::System. - Fixed design flaw where the message bar status could be set despite the game being stopped.
2017-06-02Created a whitelist of system archives to prevent false positives creating ↵TheKoopaKingdom
dialogs.
2017-06-02Made some changes from review comments:TheKoopaKingdom
- Made LoadKernelSystemMode return a pair consisting of a system mode and a result code (Could use review). - Deleted ErrorOpenGL error code in favor of just having ErrorVideoCore. - Made dialog messages more clear. - Compared archive ID in fs_user.cpp to ArchiveIdCode::NCCH as opposed to hex magic. - Cleaned up some other stuff.
2017-06-02Fixed encrypted ROM error messages.TheKoopaKingdom
2017-05-24telemetry: Log a few simple data fields throughout core.bunnei
2017-05-07Remove ability to load symbol mapsYuri Kunde Schlesner
This was now mostly unused except by thread creation, which used a symbol of the entrypoint, if available, to name the thread.
2017-03-08loader/ncch: less verbose log for loading game list. only log program ID ↵wwylele
when booting
2017-03-08loader: lower file name logging levelwwylele
2017-02-26Doxygen: Amend minor issues (#2593)Mat M
Corrects a few issues with regards to Doxygen documentation, for example: - Incorrect parameter referencing. - Missing @param tags. - Typos in @param tags. and a few minor other issues.
2017-02-13loader: use self NCCH archivewwylele
2017-01-19loader: Add support for 3DSX special relocation types, fixes ↵Thomas Farr
citra-emu/citra#2449 As per devkitPro/3dstools@47bea18
2017-01-04Fix some warnings (#2399)Jonathan Hao
2016-12-29Merge pull request #2240 from wwylele/auto-regionbunnei
Config: auto-select region and language
2016-12-21loader: Remove duplicate docstrings.bunnei
2016-12-15loader: Implement ReadProgramIdMerryMage
2016-12-07Config: auto-select region and languagewwylele
2016-11-27Kernel/Loader: Grab the system mode from the NCCH ExHeader.Subv
3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849
2016-11-19Kernel/Loader: Grab the system mode from the NCCH ExHeader.Subv
3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849
2016-10-20Fix typosRicardo de Almeida Gonzaga
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-05-21Loader: Split SMDH into its own header and import helpers from QGameListEmmanuel Gil Peyrot
Also rewrite Qt wrappers to use those.