summaryrefslogtreecommitdiff
path: root/src/core/loader (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core: Refactor MakeMagic usage and remove dead code.Gravatar bunnei2017-10-156-143/+10
|
* nso: Add a log for loading submodules.Gravatar bunnei2017-10-141-0/+1
|
* Remove more 3DS-specific code.Gravatar bunnei2017-10-121-2/+0
|
* Remove lots more 3DS-specific code.Gravatar bunnei2017-10-126-774/+0
|
* Merge remote-tracking branch 'upstream/master' into nxGravatar bunnei2017-10-0911-495/+182
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # 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
| * file_sys, loader: add support for reading TMDs to determine app pathsGravatar shinyquagsire232017-10-011-3/+14
| |
| * Loaders: Don't automatically set the current process every time we load an ↵Gravatar Subv2017-09-267-35/+36
| | | | | | | | | | | | 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.
| * HLE/Archives: Allow multiple loaded applications to access their SelfNCCH ↵Gravatar Subv2017-09-252-4/+2
| | | | | | | | | | | | | | | | | | | | 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.
| * Merge pull request #2952 from MerryMage/page-tablesGravatar B3n302017-09-253-3/+3
| |\ | | | | | | Switchable Page Tables
| | * memory: Add GetCurrentPageTable/SetCurrentPageTableGravatar MerryMage2017-09-243-3/+3
| | | | | | | | | | | | Don't expose Memory::current_page_table as a global.
| * | Loader/NCCH: Add support for loading application updates (#2927)Gravatar Max Thomas2017-09-253-434/+82
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Kernel/Memory: Give each Process its own page table.Gravatar Subv2017-09-103-0/+3
| | | | | | | | The loader is in charge of setting the newly created process's page table as the main one during the loading process.
| * Added missing parts in libnetwork (#2838)Gravatar B3n302017-08-191-0/+8
| | | | | | | | | | * Network: Set and send the game information over enet Added Callbacks for RoomMember and GetMemberList to Room in preparation for web_services.
| * loader: Expose program title.Gravatar bunnei2017-08-033-12/+31
| |
* | loader: Various improvements for NSO/NRO loaders.Gravatar bunnei2017-10-095-52/+34
| |
* | loader: Add support for NRO, as well as various fixes and shared linker.Gravatar bunnei2017-10-058-146/+430
| |
* | nso: Fixes to support homebrew NSOs without a MOD header.Gravatar bunnei2017-10-032-17/+23
| |
* | nso: Refactor and allocate .bss section.Gravatar bunnei2017-09-305-119/+144
| |
* | loader: Add support for loading an NSO.Gravatar bunnei2017-09-304-0/+340
| |
* | elf: Check if machine is ARM.Gravatar bunnei2017-09-301-2/+9
|/
* telemetry: Log performance, configuration, and system data.Gravatar bunnei2017-07-171-2/+4
|
* Addressed Bunnei's review comments, and made some other tweaks:Gravatar TheKoopaKingdom2017-06-022-2/+2
| | | | | - 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.
* Created a whitelist of system archives to prevent false positives creating ↵Gravatar TheKoopaKingdom2017-06-022-4/+2
| | | | dialogs.
* Made some changes from review comments:Gravatar TheKoopaKingdom2017-06-023-15/+12
| | | | | | | | - 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.
* Fixed encrypted ROM error messages.Gravatar TheKoopaKingdom2017-06-023-9/+19
|
* telemetry: Log a few simple data fields throughout core.Gravatar bunnei2017-05-241-0/+3
|
* Remove ability to load symbol mapsGravatar Yuri Kunde Schlesner2017-05-071-32/+0
| | | | | This was now mostly unused except by thread creation, which used a symbol of the entrypoint, if available, to name the thread.
* loader/ncch: less verbose log for loading game list. only log program ID ↵Gravatar wwylele2017-03-081-3/+6
| | | | when booting
* loader: lower file name logging levelGravatar wwylele2017-03-081-1/+1
|
* Doxygen: Amend minor issues (#2593)Gravatar Mat M2017-02-261-1/+1
| | | | | | | | | 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.
* loader: use self NCCH archiveGravatar wwylele2017-02-132-6/+6
|
* loader: Add support for 3DSX special relocation types, fixes ↵Gravatar Thomas Farr2017-01-191-9/+25
| | | | | | citra-emu/citra#2449 As per devkitPro/3dstools@47bea18
* Fix some warnings (#2399)Gravatar Jonathan Hao2017-01-042-2/+2
|
* Merge pull request #2240 from wwylele/auto-regionGravatar bunnei2016-12-292-0/+25
|\ | | | | Config: auto-select region and language
| * Config: auto-select region and languageGravatar wwylele2016-12-072-0/+25
| |
* | loader: Remove duplicate docstrings.Gravatar bunnei2016-12-213-56/+0
| |
* | loader: Implement ReadProgramIdGravatar MerryMage2016-12-153-0/+28
|/
* Kernel/Loader: Grab the system mode from the NCCH ExHeader.Gravatar Subv2016-11-273-16/+17
| | | | | | | 3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849
* Kernel/Loader: Grab the system mode from the NCCH ExHeader.Gravatar Subv2016-11-193-0/+27
| | | | | | | 3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849
* Fix typosGravatar Ricardo de Almeida Gonzaga2016-10-202-2/+2
|
* Use negative priorities to avoid special-casing the self-includeGravatar Yuri Kunde Schlesner2016-09-214-4/+4
|
* Remove empty newlines in #include blocks.Gravatar Emmanuel Gil Peyrot2016-09-2110-21/+4
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatGravatar Yuri Kunde Schlesner2016-09-184-10/+5
|
* Sources: Run clang-format on everything.Gravatar Emmanuel Gil Peyrot2016-09-189-208/+249
|
* Loader: Split SMDH into its own header and import helpers from QGameListGravatar Emmanuel Gil Peyrot2016-05-213-47/+136
| | | | Also rewrite Qt wrappers to use those.
* CitraQt: Simplify the game list loader codeGravatar Emmanuel Gil Peyrot2016-05-212-14/+12
|
* Loader: Add a GetFileType method to get the type of a loaded fileGravatar Emmanuel Gil Peyrot2016-05-214-0/+30
|
* Loader, Frontends: Refactor loader creation and game loadingGravatar Emmanuel Gil Peyrot2016-05-214-47/+21
| | | | | This allows frontends to keep a single loader and use it multiple times e.g. for code loading and SMDH parsing.
* Merge pull request #1766 from Subv/log_cpuGravatar bunnei2016-05-081-0/+3
|\ | | | | Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1)
| * Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1).Gravatar Subv2016-05-071-0/+3
| | | | | | | | We do not currently implement any cores other than the AppCore (Core 0).