summaryrefslogtreecommitdiffstats
path: root/src/core/loader/loader.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Virtual Filesystem (#597)"bunnei2018-07-081-25/+38
| | | | This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
* 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-031-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-251-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-131-2/+0
|
* Remove lots more 3DS-specific code.bunnei2017-10-131-31/+0
|
* loader: Various improvements for NSO/NRO loaders.bunnei2017-10-101-2/+2
|
* loader: Add support for NRO, as well as various fixes and shared linker.bunnei2017-10-061-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-021-13/+13
|\ | | | | Initial implementation of a game list
| * Expose loader helper functions for identifying files.archshift2015-10-011-13/+13
| |
* | Implement 3dsx RomFSCruel2015-09-211-1/+9
|/
* General: Fix up doxygen commentsLioncash2015-09-101-1/+1
|
* Properly indicate that CIA support is not implemented yetBenjamin Barenblat2015-08-151-0/+4
| | | | | Make `Loader::LoadFile` return an `ErrorNotImplemented` if you call it on a CIA file.
* Give CIA file type a nameBenjamin Barenblat2015-08-151-0/+2
| | | | | Make `GetFileTypeString` return ‘CIA’ for CIA (CTR Importable Archive) files.
* loader: Remove unnecessary else usagesLioncash2015-07-261-9/+9
|
* Loader: Remove unnecessary pointer indirection to IOFileYuri Kunde Schlesner2015-07-141-3/+3
|
* FS: Stream RomFS from file instead of loading all of it to memorycondut2015-07-141-1/+1
|
* Common: Cleanup key_map includes.Emmanuel Gil Peyrot2015-06-281-0/+1
|
* Common: Fix FileUtil includes, and everything relying on those.Emmanuel Gil Peyrot2015-06-281-0/+1
|
* Memmap: Re-organize memory function in two filesYuri Kunde Schlesner2015-05-151-1/+0
| | | | | | | memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory.
* Loader: Remove .bin file supportYuri Kunde Schlesner2015-05-091-19/+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-2/+2
|
* Process: Support parsing of exheader kernel capsYuri Kunde Schlesner2015-05-091-0/+1
|
* Kernel: Remove g_program_idYuri Kunde Schlesner2015-05-091-1/+0
| | | | This has been obsoleted by the field in Process.
* Kernel: Introduce skeleton Process class to hold process dataYuri Kunde Schlesner2015-05-091-16/+21
|
* Common: Remove common.hYuri Kunde Schlesner2015-05-071-0/+1
|
* Build: Fixed some warningsSubv2015-02-121-1/+3
|
* FS: Allow multiple instances of the same archive type to be open at onceYuri Kunde Schlesner2015-02-101-1/+1
|
* loader: Add missing printf argumentLioncash2015-01-301-1/+1
|
* Loader: Display the type of the file being loaded.Emmanuel Gil Peyrot2015-01-151-3/+23
|
* Loader: Guess filetype from the magic, or fallback to the extension.Emmanuel Gil Peyrot2015-01-151-15/+45
|
* 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-12/+11
|
* Loader: Don’t duplicate the docstring into the cpp file.Emmanuel Gil Peyrot2015-01-151-5/+0
|
* Fix correct espaceDante384902015-01-051-2/+2
|
* Add support load 3DS roomDante384902015-01-051-0/+2
|
* Merge pull request #291 from purpasmart96/licensebunnei2014-12-211-1/+1
|\ | | | | License change
| * License changepurpasmart962014-12-211-1/+1
| |
* | Common: Add a clone of std::make_uniqueYuri Kunde Schlesner2014-12-201-2/+4
|/
* Filesystem/Archives: Implemented the SaveData archiveSubv2014-12-181-0/+1
| | | | | | | | | | 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
* FS.Archive: Clean up treatment of archives and their handlesYuri Kunde Schlesner2014-12-161-1/+1
| | | | | | | - Refactor FS::Archive internals to make Archive creation and lifetime management clearer. - Remove the "Archive as a File" hack. - Implement 64-bit Archive handles.
* Service.FS: Do archive registration using IdCode instead of nameYuri Kunde Schlesner2014-12-161-1/+1
|
* HLE: Rename namespaces to match move & fix initialization orderYuri Kunde Schlesner2014-12-161-1/+1
|
* HLE: Move kernel/archive.* to service/fs/Yuri Kunde Schlesner2014-12-161-1/+1
|
* Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-131-3/+3
|
* Loader: Add 3DSX supportichfly2014-12-081-0/+7
|
* Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.Emmanuel Gil Peyrot2014-09-171-1/+1
|
* Merge pull request #99 from archshift/ext-checkbunnei2014-09-111-15/+16
|\ | | | | loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
| * Added string_util to common, small changes in loader.cpparchshift2014-09-091-16/+15
| |
| * loader.cpp: improved file extension checking, made Upper/LowerStr usefularchshift2014-09-091-6/+8
| | | | | | | | Instead of forcibly taking the last 4 characters, it now finds the last extension separator (the period) and takes a substr of its location.
* | core: Prune redundant includesarchshift2014-09-091-1/+0
|/
* Loader: Added support for loading raw BIN executables.bunnei2014-08-281-0/+20
| | | | | | - Useful for debugging homebrew Qt: Updated GUI to support loading .bin files.
* FileSys: Added preliminary support for applications reading the RomFS archive.bunnei2014-07-051-4/+11
| | | | | | | | | | Archive: Fixed brace ugliness for neobrain :) FS: Commented out unused local variables to prevent warnings. ...But keeping them here for future use. archive_romfs: Removed unused #include.
* Loader: Refactored use of const.bunnei2014-06-251-2/+2
|
* Loader: Implemented AppLoader interface for abstracting application loading.bunnei2014-06-251-26/+29
| | | | | | | | | | | | | | | | | | - 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-139/+3
|
* Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> spaces.bunnei2014-06-171-1/+1
|
* Loader: Added support for booting NCCH executables.bunnei2014-06-171-0/+5
| | | | NCCH: Fixed typo in printing NCCH filename.
* Loader: Moved elf and loader modules to a "loader" subdirectory.bunnei2014-06-171-0/+205