aboutsummaryrefslogtreecommitdiff
path: root/src/core/loader/loader.cpp
AgeCommit message (Collapse)Author
2018-12-21kernel/process: Hook up the process capability parser to the process itselfLioncash
While we're at it, we can also toss out the leftover capability parsing from Citra.
2018-10-15nso: Return an optional address from LoadModuleLioncash
If a malformed NSO is attempted to be loaded, we shouldn't continue onwards. We should be reporting an error and bailing out.
2018-10-05loader: Add getter for packed updateZach Hilman
Reads the update included with the game if it has one and adds the new ErrorNoPackedUpdate status.
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi
2018-09-04bktr: Fix bucket overlap errorZach Hilman
2018-09-04loader: Add BKTR-specific error messages and codesZach Hilman
2018-09-04loader: Add NSP file type and NSP-specific errorsZach Hilman
2018-09-02vfs_real: Forward declare IOFileLioncash
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.
2018-08-23loader: Add new NAX-specific errors and messagesZach Hilman
2018-08-23nax: Add AppLoader_NAX and update loader to support itZach Hilman
2018-08-15Merge pull request #1005 from DarkLordZach/registered-fmtbunnei
file_sys: Add support for registration format
2018-08-15loader: Make ResultStatus directly compatible with fmtLioncash
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.
2018-08-14loader: Remove address mapping remnants from citraLioncash
These mappings are leftovers from citra and don't apply to the Switch.
2018-08-12Fixed invalid cast in loaderDavid Marcec
GetMessageForResultStatus takes a u16, not a size_t.
2018-08-11loader: Recognize filename '00' as NCAZach Hilman
Needed to avoid mismatch filetype warnings on split NAND NCAs
2018-08-09loader: Add more descriptive errorsZach Hilman
Full list of new errors and descriptions in core/loader/loader.h
2018-08-08loader: Remove unused IdentifyFile overloadZach Hilman
2018-08-06Avoid parsing RomFS to directory in NCAZach Hilman
2018-08-01Remove files that are not usedZach Hilman
2018-07-23loader: Remove unnecessary constructor call in IdentifyFile()Lioncash
RealVfsFile inherits from VfsFile, the instance from std::make_shared is already compatible with the function argument type, making the copy constructor call unnecessary.
2018-07-22file_util, vfs: Use std::string_view where applicableLioncash
Avoids unnecessary construction of std::string instances where applicable.
2018-07-19loader: Amend Doxygen commentsLioncash
These weren't adjusted when VFS was introduced
2018-07-18Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-07Revert "Virtual Filesystem (#597)"bunnei
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
2018-07-06Virtual Filesystem (#597)Zach Hilman
* 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
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-06-21Add support for decrypted NCA files (#567)Zach Hilman
* 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
2018-04-24loader: Move old logging macros over to new fmt-capable onesLioncash
2018-01-20loader: Clean up ctors and includes.bunnei
2018-01-20loader: Add DeconstructedRomDirectory for game dumps.bunnei
2018-01-20loader: Refactor to also pass filepath into IdentifyType.bunnei
2018-01-14Add missing FileType declarations in GuessFromExtension and GetFileTypeStringThog
2017-10-12Remove more 3DS-specific code.bunnei
2017-10-12Remove lots more 3DS-specific code.bunnei
2017-10-09loader: Various improvements for NSO/NRO loaders.bunnei
2017-10-05loader: Add support for NRO, as well as various fixes and shared linker.bunnei
2017-09-30loader: Add support for loading an NSO.bunnei
2017-03-08loader: lower file name logging levelwwylele
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-05-21CitraQt: Simplify the game list loader codeEmmanuel Gil Peyrot
2016-05-21Loader, Frontends: Refactor loader creation and game loadingEmmanuel Gil Peyrot
This allows frontends to keep a single loader and use it multiple times e.g. for code loading and SMDH parsing.
2016-05-06fix:return proper errorwwylele
2016-05-04add icon & title to game listwwylele
2016-04-05Common: Remove Common::make_unique, use std::make_uniqueMerryMage
2016-03-08Improve error report from Init() functionsLittleWhite
Add error popup when citra initialization failed
2016-03-03Display errors in GUI when loading ROM failedLittleWhite
2015-10-01Merge pull request #1095 from archshift/game-listbunnei
Initial implementation of a game list
2015-09-30Expose loader helper functions for identifying files.archshift
2015-09-21Implement 3dsx RomFSCruel