Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | loader: Add KIP and INI file parser-specific errors | Zach Hilman | 2019-06-05 | 1 | -1/+5 |
| | |||||
* | kernel/process: Hook up the process capability parser to the process itself | Lioncash | 2018-12-21 | 1 | -1/+3 |
| | | | | | While we're at it, we can also toss out the leftover capability parsing from Citra. | ||||
* | nso: Return an optional address from LoadModule | Lioncash | 2018-10-15 | 1 | -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 update | Zach Hilman | 2018-10-05 | 1 | -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::" | fearlessTobi | 2018-09-15 | 1 | -1/+1 |
| | |||||
* | bktr: Fix bucket overlap error | Zach Hilman | 2018-09-04 | 1 | -2/+2 |
| | |||||
* | loader: Add BKTR-specific error messages and codes | Zach Hilman | 2018-09-04 | 1 | -1/+10 |
| | |||||
* | loader: Add NSP file type and NSP-specific errors | Zach Hilman | 2018-09-04 | 1 | -2/+12 |
| | |||||
* | vfs_real: Forward declare IOFile | Lioncash | 2018-09-02 | 1 | -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 messages | Zach Hilman | 2018-08-23 | 1 | -1/+14 |
| | |||||
* | nax: Add AppLoader_NAX and update loader to support it | Zach Hilman | 2018-08-23 | 1 | -2/+12 |
| | |||||
* | Merge pull request #1005 from DarkLordZach/registered-fmt | bunnei | 2018-08-16 | 1 | -0/+2 |
|\ | | | | | file_sys: Add support for registration format | ||||
| * | loader: Recognize filename '00' as NCA | Zach Hilman | 2018-08-12 | 1 | -0/+2 |
| | | | | | | | | Needed to avoid mismatch filetype warnings on split NAND NCAs | ||||
* | | loader: Make ResultStatus directly compatible with fmt | Lioncash | 2018-08-15 | 1 | -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 citra | Lioncash | 2018-08-15 | 1 | -6/+0 |
| | | | | | | | | These mappings are leftovers from citra and don't apply to the Switch. | ||||
* | | Fixed invalid cast in loader | David Marcec | 2018-08-12 | 1 | -1/+1 |
|/ | | | | GetMessageForResultStatus takes a u16, not a size_t. | ||||
* | loader: Add more descriptive errors | Zach Hilman | 2018-08-10 | 1 | -0/+49 |
| | | | Full list of new errors and descriptions in core/loader/loader.h | ||||
* | loader: Remove unused IdentifyFile overload | Zach Hilman | 2018-08-09 | 1 | -4/+0 |
| | |||||
* | Avoid parsing RomFS to directory in NCA | Zach Hilman | 2018-08-07 | 1 | -1/+1 |
| | |||||
* | Remove files that are not used | Zach Hilman | 2018-08-01 | 1 | -0/+9 |
| | |||||
* | loader: Remove unnecessary constructor call in IdentifyFile() | Lioncash | 2018-07-23 | 1 | -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 applicable | Lioncash | 2018-07-22 | 1 | -1/+2 |
| | | | | | Avoids unnecessary construction of std::string instances where applicable. | ||||
* | loader: Amend Doxygen comments | Lioncash | 2018-07-19 | 1 | -2/+2 |
| | | | | These weren't adjusted when VFS was introduced | ||||
* | Virtual Filesystem 2: Electric Boogaloo (#676) | Zach Hilman | 2018-07-19 | 1 | -38/+25 |
| | | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression | ||||
* | Revert "Virtual Filesystem (#597)" | bunnei | 2018-07-08 | 1 | -25/+38 |
| | | | | This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2. | ||||
* | Virtual Filesystem (#597) | Zach Hilman | 2018-07-06 | 1 | -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 Rowe | 2018-07-03 | 1 | -4/+4 |
| | |||||
* | Add support for decrypted NCA files (#567) | Zach Hilman | 2018-06-21 | 1 | -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 ones | Lioncash | 2018-04-25 | 1 | -4/+4 |
| | |||||
* | loader: Clean up ctors and includes. | bunnei | 2018-01-20 | 1 | -3/+1 |
| | |||||
* | loader: Add DeconstructedRomDirectory for game dumps. | bunnei | 2018-01-20 | 1 | -0/+8 |
| | |||||
* | loader: Refactor to also pass filepath into IdentifyType. | bunnei | 2018-01-20 | 1 | -5/+5 |
| | |||||
* | Add missing FileType declarations in GuessFromExtension and GetFileTypeString | Thog | 2018-01-14 | 1 | -0/+8 |
| | |||||
* | Remove more 3DS-specific code. | bunnei | 2017-10-13 | 1 | -2/+0 |
| | |||||
* | Remove lots more 3DS-specific code. | bunnei | 2017-10-13 | 1 | -31/+0 |
| | |||||
* | loader: Various improvements for NSO/NRO loaders. | bunnei | 2017-10-10 | 1 | -2/+2 |
| | |||||
* | loader: Add support for NRO, as well as various fixes and shared linker. | bunnei | 2017-10-06 | 1 | -0/+6 |
| | |||||
* | loader: Add support for loading an NSO. | bunnei | 2017-09-30 | 1 | -0/+6 |
| | |||||
* | loader: lower file name logging level | wwylele | 2017-03-08 | 1 | -1/+1 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -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 Peyrot | 2016-09-18 | 1 | -7/+8 |
| | |||||
* | CitraQt: Simplify the game list loader code | Emmanuel Gil Peyrot | 2016-05-21 | 1 | -3/+11 |
| | |||||
* | Loader, Frontends: Refactor loader creation and game loading | Emmanuel Gil Peyrot | 2016-05-21 | 1 | -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 error | wwylele | 2016-05-06 | 1 | -2/+3 |
| | |||||
* | add icon & title to game list | wwylele | 2016-05-04 | 1 | -19/+31 |
| | |||||
* | Common: Remove Common::make_unique, use std::make_unique | MerryMage | 2016-04-05 | 1 | -3/+2 |
| | |||||
* | Improve error report from Init() functions | LittleWhite | 2016-03-08 | 1 | -1/+0 |
| | | | | Add error popup when citra initialization failed | ||||
* | Display errors in GUI when loading ROM failed | LittleWhite | 2016-03-03 | 1 | -2/+3 |
| | |||||
* | Merge pull request #1095 from archshift/game-list | bunnei | 2015-10-02 | 1 | -13/+13 |
|\ | | | | | Initial implementation of a game list | ||||
| * | Expose loader helper functions for identifying files. | archshift | 2015-10-01 | 1 | -13/+13 |
| | | |||||
* | | Implement 3dsx RomFS | Cruel | 2015-09-21 | 1 | -1/+9 |
|/ | |||||
* | General: Fix up doxygen comments | Lioncash | 2015-09-10 | 1 | -1/+1 |
| | |||||
* | Properly indicate that CIA support is not implemented yet | Benjamin Barenblat | 2015-08-15 | 1 | -0/+4 |
| | | | | | Make `Loader::LoadFile` return an `ErrorNotImplemented` if you call it on a CIA file. | ||||
* | Give CIA file type a name | Benjamin Barenblat | 2015-08-15 | 1 | -0/+2 |
| | | | | | Make `GetFileTypeString` return ‘CIA’ for CIA (CTR Importable Archive) files. | ||||
* | loader: Remove unnecessary else usages | Lioncash | 2015-07-26 | 1 | -9/+9 |
| | |||||
* | Loader: Remove unnecessary pointer indirection to IOFile | Yuri Kunde Schlesner | 2015-07-14 | 1 | -3/+3 |
| | |||||
* | FS: Stream RomFS from file instead of loading all of it to memory | condut | 2015-07-14 | 1 | -1/+1 |
| | |||||
* | Common: Cleanup key_map includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -0/+1 |
| | |||||
* | Common: Fix FileUtil includes, and everything relying on those. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -0/+1 |
| | |||||
* | Memmap: Re-organize memory function in two files | Yuri Kunde Schlesner | 2015-05-15 | 1 | -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 support | Yuri Kunde Schlesner | 2015-05-09 | 1 | -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 => AddressMapping | Yuri Kunde Schlesner | 2015-05-09 | 1 | -2/+2 |
| | |||||
* | Process: Support parsing of exheader kernel caps | Yuri Kunde Schlesner | 2015-05-09 | 1 | -0/+1 |
| | |||||
* | Kernel: Remove g_program_id | Yuri Kunde Schlesner | 2015-05-09 | 1 | -1/+0 |
| | | | | This has been obsoleted by the field in Process. | ||||
* | Kernel: Introduce skeleton Process class to hold process data | Yuri Kunde Schlesner | 2015-05-09 | 1 | -16/+21 |
| | |||||
* | Common: Remove common.h | Yuri Kunde Schlesner | 2015-05-07 | 1 | -0/+1 |
| | |||||
* | Build: Fixed some warnings | Subv | 2015-02-12 | 1 | -1/+3 |
| | |||||
* | FS: Allow multiple instances of the same archive type to be open at once | Yuri Kunde Schlesner | 2015-02-10 | 1 | -1/+1 |
| | |||||
* | loader: Add missing printf argument | Lioncash | 2015-01-30 | 1 | -1/+1 |
| | |||||
* | Loader: Display the type of the file being loaded. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -3/+23 |
| | |||||
* | Loader: Guess filetype from the magic, or fallback to the extension. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -15/+45 |
| | |||||
* | Loader: Keep a reference to the file and pass it to the correct AppLoader, instead of loading it multiple times. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -12/+11 |
| | |||||
* | Loader: Don’t duplicate the docstring into the cpp file. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -5/+0 |
| | |||||
* | Fix correct espace | Dante38490 | 2015-01-05 | 1 | -2/+2 |
| | |||||
* | Add support load 3DS room | Dante38490 | 2015-01-05 | 1 | -0/+2 |
| | |||||
* | Merge pull request #291 from purpasmart96/license | bunnei | 2014-12-21 | 1 | -1/+1 |
|\ | | | | | License change | ||||
| * | License change | purpasmart96 | 2014-12-21 | 1 | -1/+1 |
| | | |||||
* | | Common: Add a clone of std::make_unique | Yuri Kunde Schlesner | 2014-12-20 | 1 | -2/+4 |
|/ | |||||
* | Filesystem/Archives: Implemented the SaveData archive | Subv | 2014-12-18 | 1 | -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 handles | Yuri Kunde Schlesner | 2014-12-16 | 1 | -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 name | Yuri Kunde Schlesner | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | HLE: Rename namespaces to match move & fix initialization order | Yuri Kunde Schlesner | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | HLE: Move kernel/archive.* to service/fs/ | Yuri Kunde Schlesner | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 2014-12-13 | 1 | -3/+3 |
| | |||||
* | Loader: Add 3DSX support | ichfly | 2014-12-08 | 1 | -0/+7 |
| | |||||
* | Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions. | Emmanuel Gil Peyrot | 2014-09-17 | 1 | -1/+1 |
| | |||||
* | Merge pull request #99 from archshift/ext-check | bunnei | 2014-09-11 | 1 | -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.cpp | archshift | 2014-09-09 | 1 | -16/+15 |
| | | |||||
| * | loader.cpp: improved file extension checking, made Upper/LowerStr useful | archshift | 2014-09-09 | 1 | -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 includes | archshift | 2014-09-09 | 1 | -1/+0 |
|/ | |||||
* | Loader: Added support for loading raw BIN executables. | bunnei | 2014-08-28 | 1 | -0/+20 |
| | | | | | | - Useful for debugging homebrew Qt: Updated GUI to support loading .bin files. | ||||
* | FileSys: Added preliminary support for applications reading the RomFS archive. | bunnei | 2014-07-05 | 1 | -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. | bunnei | 2014-06-25 | 1 | -2/+2 |
| | |||||
* | Loader: Implemented AppLoader interface for abstracting application loading. | bunnei | 2014-06-25 | 1 | -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. | bunnei | 2014-06-17 | 1 | -139/+3 |
| | |||||
* | Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> spaces. | bunnei | 2014-06-17 | 1 | -1/+1 |
| | |||||
* | Loader: Added support for booting NCCH executables. | bunnei | 2014-06-17 | 1 | -0/+5 |
| | | | | NCCH: Fixed typo in printing NCCH filename. | ||||
* | Loader: Moved elf and loader modules to a "loader" subdirectory. | bunnei | 2014-06-17 | 1 | -0/+205 |