summaryrefslogtreecommitdiffstats
path: root/src/core/loader/loader.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Loader/NCCH: Add support for loading application updates (#2927)Max Thomas2017-09-251-0/+13
| | | | | | | | | | | | | | | | * 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
* loader: Expose program title.bunnei2017-08-041-0/+9
|
* Addressed Bunnei's review comments, and made some other tweaks:TheKoopaKingdom2017-06-031-1/+1
| | | | | - 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 dialogs.TheKoopaKingdom2017-06-031-3/+1
|
* Made some changes from review comments:TheKoopaKingdom2017-06-031-5/+6
| | | | | | | | - 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.TheKoopaKingdom2017-06-031-3/+5
|
* Doxygen: Amend minor issues (#2593)Mat M2017-02-271-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: Implement ReadProgramIdMerryMage2016-12-151-0/+9
|
* Kernel/Loader: Grab the system mode from the NCCH ExHeader.Subv2016-11-281-6/+7
| | | | | | | 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.Subv2016-11-201-0/+11
| | | | | | | 3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-1/+0
| | | | | | | 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-formatYuri Kunde Schlesner2016-09-191-4/+2
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-4/+7
|
* Loader: Split SMDH into its own header and import helpers from QGameListEmmanuel Gil Peyrot2016-05-211-47/+0
| | | | Also rewrite Qt wrappers to use those.
* CitraQt: Simplify the game list loader codeEmmanuel Gil Peyrot2016-05-211-11/+1
|
* Loader: Add a GetFileType method to get the type of a loaded fileEmmanuel Gil Peyrot2016-05-211-0/+6
|
* Loader, Frontends: Refactor loader creation and game loadingEmmanuel Gil Peyrot2016-05-211-3/+3
| | | | | This allows frontends to keep a single loader and use it multiple times e.g. for code loading and SMDH parsing.
* add icon & title to game listwwylele2016-05-041-0/+57
|
* loader: Make MakeMagic constexprLioncash2016-03-211-1/+1
|
* Loader: Implement encryption checkGareth Poole2015-10-111-0/+1
|
* Expose loader helper functions for identifying files.archshift2015-10-011-0/+28
|
* Loader: Remove unnecessary pointer indirection to IOFileYuri Kunde Schlesner2015-07-141-8/+8
|
* FS: Stream RomFS from file instead of loading all of it to memorycondut2015-07-141-2/+5
|
* CitraQt: Cleanup includes.Emmanuel Gil Peyrot2015-06-281-1/+6
|
* Common: Cleanup key_map includes.Emmanuel Gil Peyrot2015-06-281-0/+1
|
* Loader: Remove .bin file supportYuri Kunde Schlesner2015-05-091-1/+0
| | | | | It is of very limited practical utility currently, and will soon be impossible to support due to more accurate memory map emulation.
* Process: Rename StaticAddressMapping => AddressMappingYuri Kunde Schlesner2015-05-091-1/+1
|
* Kernel: Introduce skeleton Process class to hold process dataYuri Kunde Schlesner2015-05-091-0/+8
|
* Common: Remove common.hYuri Kunde Schlesner2015-05-071-1/+1
|
* core: Fix some warnings on OSXLioncash2015-02-031-1/+1
|
* Loader: Guess filetype from the magic, or fallback to the extension.Emmanuel Gil Peyrot2015-01-151-7/+4
|
* Loader: Keep a reference to the file and pass it to the correct AppLoader, instead of loading it multiple times.Emmanuel Gil Peyrot2015-01-151-1/+6
|
* License changepurpasmart962014-12-211-1/+1
|
* Loader: Add 3DSX supportichfly2014-12-081-0/+1
|
* Loader: Added support for loading raw BIN executables.bunnei2014-08-281-0/+1
| | | | | | - Useful for debugging homebrew Qt: Updated GUI to support loading .bin files.
* NCCH: Updated ExeFS memory allocation to be safer.bunnei2014-07-051-0/+1
|
* Loader: Updated read methods to be constbunnei2014-07-051-5/+5
| | | | - Required "file" handle to be made local and explicitly opened/closed as needed
* Loader: Refactored interface such that data is no longer stored by loader.bunnei2014-06-271-33/+21
| | | | NCCH: Removed extra qualification ‘Loader::AppLoader_NCCH::’.
* Loader: Refactored loading functions to only read data from binary if called.bunnei2014-06-251-8/+8
| | | | NCCH: Updated LoadExec to use Memory::WriteBlock function to load binary code.
* Loader: Refactored use of const.bunnei2014-06-251-3/+3
|
* NCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections correctly.bunnei2014-06-251-0/+1
| | | | Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used.
* Loader: Implemented AppLoader interface for abstracting application loading.bunnei2014-06-251-12/+91
| | | | | | | | | | | | | | | | | | - Various cleanups/refactorings to Loader, ELF, and NCCH modules. - Added AppLoader interface to ELF and NCCH. - Updated Qt/GLFW frontends to check AppLoader ResultStatus. NCCH: Removed extra qualification typos. Loader: Removed unnecessary #include's. NCCH: Improved readability of memcmp statements. NCCH: Added missing space. Elf: Removed unnecessary usage of unique_ptr. Loader: Removed unnecessary usage of unique_ptr.
* Loader: Cleaned up and removed unused code, refactored ELF namespace.bunnei2014-06-171-14/+1
|
* Loader: Moved elf and loader modules to a "loader" subdirectory.bunnei2014-06-171-0/+54