summaryrefslogtreecommitdiffstats
path: root/src/core/loader/ncch.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-1/+1
|
* Made some changes from review comments:TheKoopaKingdom2017-06-031-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.TheKoopaKingdom2017-06-031-2/+3
|
* Fix some warnings (#2399)Jonathan Hao2017-01-041-1/+1
|
* Merge pull request #2240 from wwylele/auto-regionbunnei2016-12-301-0/+3
|\ | | | | Config: auto-select region and language
| * Config: auto-select region and languagewwylele2016-12-071-0/+3
| |
* | loader: Remove duplicate docstrings.bunnei2016-12-221-28/+0
| |
* | loader: Implement ReadProgramIdMerryMage2016-12-151-0/+7
|/
* Kernel/Loader: Grab the system mode from the NCCH ExHeader.Subv2016-11-281-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.Subv2016-11-201-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 typosRicardo de Almeida Gonzaga2016-10-201-1/+1
|
* Remove empty newlines in #include blocks.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-formatYuri Kunde Schlesner2016-09-191-2/+1
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-19/+20
|
* Loader: Add a GetFileType method to get the type of a loaded fileEmmanuel Gil Peyrot2016-05-211-0/+8
|
* add icon & title to game listwwylele2016-05-041-0/+7
|
* Loader: Change NCCH header types to be explicitly little-endianGareth Poole2015-10-111-16/+16
|
* Loader: Implement encryption checkGareth Poole2015-10-111-2/+2
|
* General: Fix up doxygen commentsLioncash2015-09-101-1/+3
|
* 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
|
* Loader/NCCH: Fix formatting of bracesYuri Kunde Schlesner2015-05-091-9/+9
|
* Kernel: Remove g_program_idYuri Kunde Schlesner2015-05-091-6/+0
| | | | This has been obsoleted by the field in Process.
* Kernel: Introduce skeleton Process class to hold process dataYuri Kunde Schlesner2015-05-091-2/+10
|
* Common: Remove common.hYuri Kunde Schlesner2015-05-071-1/+3
|
* Services/Loader: Use more sensible log formats for certain functionspurpasmart962015-04-281-4/+14
| | | | along with more info being logged.
* NCCH: Minor updates to the ncch headerpurpasmart962015-03-151-11/+14
|
* Loader: Guess filetype from the magic, or fallback to the extension.Emmanuel Gil Peyrot2015-01-151-1/+8
|
* 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-6/+1
|
* Loader: Initialize the default NCCH values in the class declaration, not in the constructor.Emmanuel Gil Peyrot2015-01-151-4/+4
|
* Loader: Never forget to change is_loaded.Emmanuel Gil Peyrot2015-01-151-1/+1
|
* License changepurpasmart962014-12-211-1/+1
|
* Filesystem/Archives: Implemented the SaveData archiveSubv2014-12-181-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 or generatedEmmanuel Gil Peyrot2014-11-191-1/+1
|
* ncch: Remove C-style struct typedefsLioncash2014-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 "override".bunnei2014-07-051-7/+7
|
* Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"bunnei2014-07-051-1/+1
|
* Loader: Updated read methods to be constbunnei2014-07-051-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.bunnei2014-06-271-20/+18
| | | | NCCH: Removed extra qualification ‘Loader::AppLoader_NCCH::’.
* Loader: Refactored loading functions to only read data from binary if called.bunnei2014-06-251-13/+44
| | | | NCCH: Updated LoadExec to use Memory::WriteBlock function to load binary code.
* Loader: Refactored use of const.bunnei2014-06-251-6/+5
|
* NCCH: Added RomFS loading.bunnei2014-06-251-0/+8
|
* NCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections correctly.bunnei2014-06-251-2/+3
| | | | Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used.
* Loader: Implemented AppLoader interface for abstracting application loading.bunnei2014-06-251-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.bunnei2014-06-171-0/+21
NCCH: Fixed typo in printing NCCH filename.