summaryrefslogtreecommitdiff
path: root/src/core/loader/ncch.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove lots more 3DS-specific code.Gravatar bunnei2017-10-121-80/+0
|
* Loaders: Don't automatically set the current process every time we load an ↵Gravatar Subv2017-09-261-2/+3
| | | | | | 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.
* Loader/NCCH: Add support for loading application updates (#2927)Gravatar Max Thomas2017-09-251-175/+9
| | | | | | | | | | | | | | | | * 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.Gravatar bunnei2017-08-031-12/+2
|
* Addressed Bunnei's review comments, and made some other tweaks:Gravatar TheKoopaKingdom2017-06-021-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 ↵Gravatar TheKoopaKingdom2017-06-021-1/+1
| | | | dialogs.
* Made some changes from review comments:Gravatar TheKoopaKingdom2017-06-021-3/+2
| | | | | | | | - 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-021-2/+3
|
* Fix some warnings (#2399)Gravatar Jonathan Hao2017-01-041-1/+1
|
* Merge pull request #2240 from wwylele/auto-regionGravatar bunnei2016-12-291-0/+3
|\ | | | | Config: auto-select region and language
| * Config: auto-select region and languageGravatar wwylele2016-12-071-0/+3
| |
* | loader: Remove duplicate docstrings.Gravatar bunnei2016-12-211-28/+0
| |
* | loader: Implement ReadProgramIdGravatar MerryMage2016-12-151-0/+7
|/
* Kernel/Loader: Grab the system mode from the NCCH ExHeader.Gravatar Subv2016-11-271-3/+2
| | | | | | | 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-191-0/+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
* Fix typosGravatar Ricardo de Almeida Gonzaga2016-10-201-1/+1
|
* Remove empty newlines in #include blocks.Gravatar Emmanuel Gil Peyrot2016-09-211-2/+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-formatGravatar Yuri Kunde Schlesner2016-09-181-2/+1
|
* Sources: Run clang-format on everything.Gravatar Emmanuel Gil Peyrot2016-09-181-19/+20
|
* Loader: Add a GetFileType method to get the type of a loaded fileGravatar Emmanuel Gil Peyrot2016-05-211-0/+8
|
* add icon & title to game listGravatar wwylele2016-05-041-0/+7
|
* Loader: Change NCCH header types to be explicitly little-endianGravatar Gareth Poole2015-10-101-16/+16
|
* Loader: Implement encryption checkGravatar Gareth Poole2015-10-101-2/+2
|
* General: Fix up doxygen commentsGravatar Lioncash2015-09-101-1/+3
|
* Loader: Remove unnecessary pointer indirection to IOFileGravatar Yuri Kunde Schlesner2015-07-131-8/+8
|
* FS: Stream RomFS from file instead of loading all of it to memoryGravatar condut2015-07-131-2/+5
|
* Loader/NCCH: Fix formatting of bracesGravatar Yuri Kunde Schlesner2015-05-081-9/+9
|
* Kernel: Remove g_program_idGravatar Yuri Kunde Schlesner2015-05-081-6/+0
| | | | This has been obsoleted by the field in Process.
* Kernel: Introduce skeleton Process class to hold process dataGravatar Yuri Kunde Schlesner2015-05-081-2/+10
|
* Common: Remove common.hGravatar Yuri Kunde Schlesner2015-05-071-1/+3
|
* Services/Loader: Use more sensible log formats for certain functionsGravatar purpasmart962015-04-271-4/+14
| | | | along with more info being logged.
* NCCH: Minor updates to the ncch headerGravatar purpasmart962015-03-151-11/+14
|
* Loader: Guess filetype from the magic, or fallback to the extension.Gravatar Emmanuel Gil Peyrot2015-01-151-1/+8
|
* Loader: Keep a reference to the file and pass it to the correct AppLoader, ↵Gravatar Emmanuel Gil Peyrot2015-01-151-6/+1
| | | | instead of loading it multiple times.
* Loader: Initialize the default NCCH values in the class declaration, not in ↵Gravatar Emmanuel Gil Peyrot2015-01-151-4/+4
| | | | the constructor.
* Loader: Never forget to change is_loaded.Gravatar Emmanuel Gil Peyrot2015-01-151-1/+1
|
* License changeGravatar purpasmart962014-12-201-1/+1
|
* Filesystem/Archives: Implemented the SaveData archiveGravatar Subv2014-12-171-0/+6
| | | | | | | | | | The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information Got rid of the code duplication in File and Directory Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive. FS_U: Use the correct error code when a file wasn't found
* Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵Gravatar Emmanuel Gil Peyrot2014-11-191-1/+1
| | | | or generated
* ncch: Remove C-style struct typedefsGravatar Lioncash2014-09-061-4/+4
| | | | In C++ you can simply just declare it as is.
* Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as ↵Gravatar bunnei2014-07-041-7/+7
| | | | "override".
* Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"Gravatar bunnei2014-07-041-1/+1
|
* Loader: Updated read methods to be constGravatar bunnei2014-07-041-8/+7
| | | | - 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.Gravatar bunnei2014-06-271-20/+18
| | | | NCCH: Removed extra qualification ‘Loader::AppLoader_NCCH::’.
* Loader: Refactored loading functions to only read data from binary if called.Gravatar bunnei2014-06-241-13/+44
| | | | NCCH: Updated LoadExec to use Memory::WriteBlock function to load binary code.
* Loader: Refactored use of const.Gravatar bunnei2014-06-241-6/+5
|
* NCCH: Added RomFS loading.Gravatar bunnei2014-06-241-0/+8
|
* NCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections ↵Gravatar bunnei2014-06-241-2/+3
| | | | | | correctly. Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used.
* Loader: Implemented AppLoader interface for abstracting application loading.Gravatar bunnei2014-06-241-7/+174
| | | | | | | | | | | | | | | | | | - 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: Added support for booting NCCH executables.Gravatar bunnei2014-06-161-0/+21
NCCH: Fixed typo in printing NCCH filename.