aboutsummaryrefslogtreecommitdiff
path: root/src/core/loader/loader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* nso: Return an optional address from LoadModuleLioncash2018-10-151-1/+2
| | | | | If a malformed NSO is attempted to be loaded, we shouldn't continue onwards. We should be reporting an error and bailing out.
* loader: Add getter for packed updateZach Hilman2018-10-051-1/+2
| | | | Reads the update included with the game if it has one and adds the new ErrorNoPackedUpdate status.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-1/+1
|
* bktr: Fix bucket overlap errorZach Hilman2018-09-041-2/+2
|
* loader: Add BKTR-specific error messages and codesZach Hilman2018-09-041-1/+10
|
* loader: Add NSP file type and NSP-specific errorsZach Hilman2018-09-041-2/+12
|
* vfs_real: Forward declare IOFileLioncash2018-09-021-1/+4
| | | | | | Eliminates the need to rebuild some source files if the file_util header ever changes. This also uncovered some indirect inclusions, which have also been fixed.
* loader: Add new NAX-specific errors and messagesZach Hilman2018-08-231-1/+14
|
* nax: Add AppLoader_NAX and update loader to support itZach Hilman2018-08-231-2/+12
|
* Merge pull request #1005 from DarkLordZach/registered-fmtbunnei2018-08-151-0/+2
|\ | | | | file_sys: Add support for registration format
| * loader: Recognize filename '00' as NCAZach Hilman2018-08-111-0/+2
| | | | | | | | Needed to avoid mismatch filetype warnings on split NAND NCAs
* | loader: Make ResultStatus directly compatible with fmtLioncash2018-08-151-8/+4
| | | | | | | | | | | | | | | | | | We can make the enum class type compatible with fmt by providing an overload of operator<<. While we're at it, perform proper bounds checking. If something exceeds the array, it should be a hard fail, because it's, without a doubt, a programmer error in this case.
* | loader: Remove address mapping remnants from citraLioncash2018-08-141-6/+0
| | | | | | | | These mappings are leftovers from citra and don't apply to the Switch.
* | Fixed invalid cast in loaderDavid Marcec2018-08-121-1/+1
|/ | | | GetMessageForResultStatus takes a u16, not a size_t.
* loader: Add more descriptive errorsZach Hilman2018-08-091-0/+49
| | | Full list of new errors and descriptions in core/loader/loader.h
* loader: Remove unused IdentifyFile overloadZach Hilman2018-08-081-4/+0
|
* Avoid parsing RomFS to directory in NCAZach Hilman2018-08-061-1/+1
|
* Remove files that are not usedZach Hilman2018-08-011-0/+9
|
* loader: Remove unnecessary constructor call in IdentifyFile()Lioncash2018-07-231-1/+1
| | | | | | RealVfsFile inherits from VfsFile, the instance from std::make_shared is already compatible with the function argument type, making the copy constructor call unnecessary.
* file_util, vfs: Use std::string_view where applicableLioncash2018-07-221-1/+2
| | | | | Avoids unnecessary construction of std::string instances where applicable.
* loader: Amend Doxygen commentsLioncash2018-07-191-2/+2
| | | | These weren't adjusted when VFS was introduced
* Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman2018-07-181-38/+25
| | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
* Revert "Virtual Filesystem (#597)"bunnei2018-07-071-25/+38
| | | | This reverts commit 12e9522b32d972a8e9b327c7ee7c14040a61ffdd.
* Virtual Filesystem (#597)Zach Hilman2018-07-061-38/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add VfsFile and VfsDirectory classes * Finish abstract Vfs classes * Implement RealVfsFile (computer fs backend) * Finish RealVfsFile and RealVfsDirectory * Finished OffsetVfsFile * More changes * Fix import paths * Major refactor * Remove double const * Use experimental/filesystem or filesystem depending on compiler * Port partition_filesystem * More changes * More Overhaul * FSP_SRV fixes * Fixes and testing * Try to get filesystem to compile * Filesystem on linux * Remove std::filesystem and document/test * Compile fixes * Missing include * Bug fixes * Fixes * Rename v_file and v_dir * clang-format fix * Rename NGLOG_* to LOG_* * Most review changes * Fix TODO * Guess 'main' to be Directory by filename
* Rename logging macro back to LOG_*James Rowe2018-07-021-4/+4
|
* Add support for decrypted NCA files (#567)Zach Hilman2018-06-211-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Start to add NCA support in loader * More nca stuff * More changes to nca.cpp * Now identifies decrypted NCA cont. * Game list fixes and more structs and stuff * More updates to Nca class * Now reads ExeFs (i think) * ACTUALLY LOADS EXEFS! * RomFS loads and games execute * Cleanup and Finalize * plumbing, cleanup and testing * fix some things that i didnt think of before * Preliminary Review Changes * Review changes for bunnei and subv
* loader: Move old logging macros over to new fmt-capable onesLioncash2018-04-241-4/+4
|
* loader: Clean up ctors and includes.bunnei2018-01-201-3/+1
|
* loader: Add DeconstructedRomDirectory for game dumps.bunnei2018-01-201-0/+8
|
* loader: Refactor to also pass filepath into IdentifyType.bunnei2018-01-201-5/+5
|
* Add missing FileType declarations in GuessFromExtension and GetFileTypeStringThog2018-01-141-0/+8
|
* Remove more 3DS-specific code.bunnei2017-10-121-2/+0
|
* Remove lots more 3DS-specific code.bunnei2017-10-121-31/+0
|
* loader: Various improvements for NSO/NRO loaders.bunnei2017-10-091-2/+2
|
* loader: Add support for NRO, as well as various fixes and shared linker.bunnei2017-10-051-0/+6
|
* loader: Add support for loading an NSO.bunnei2017-09-301-0/+6
|
* loader: lower file name logging levelwwylele2017-03-081-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.
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-7/+8
|
* CitraQt: Simplify the game list loader codeEmmanuel Gil Peyrot2016-05-211-3/+11
|
* Loader, Frontends: Refactor loader creation and game loadingEmmanuel Gil Peyrot2016-05-211-43/+7
| | | | | This allows frontends to keep a single loader and use it multiple times e.g. for code loading and SMDH parsing.
* fix:return proper errorwwylele2016-05-061-2/+3
|
* add icon & title to game listwwylele2016-05-041-19/+31
|
* Common: Remove Common::make_unique, use std::make_uniqueMerryMage2016-04-051-3/+2
|
* Improve error report from Init() functionsLittleWhite2016-03-081-1/+0
| | | | Add error popup when citra initialization failed
* Display errors in GUI when loading ROM failedLittleWhite2016-03-031-2/+3
|
* Merge pull request #1095 from archshift/game-listbunnei2015-10-011-13/+13
|\ | | | | Initial implementation of a game list
| * Expose loader helper functions for identifying files.archshift2015-09-301-13/+13
| |
* | Implement 3dsx RomFSCruel2015-09-211-1/+9
|/
* General: Fix up doxygen commentsLioncash2015-09-101-1/+1
|