Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-11-25 | core: loader: Implement support for loading indexed programs. | bunnei | 1 | -5/+7 | |
2020-11-18 | patch_manager: Remove usages of the global system instance | Lioncash | 1 | -12/+15 | |
With this, only 19 usages of the global system instance remain within the core library. We're almost there. | |||||
2020-08-16 | common/fileutil: Convert namespace to Common::FS | Lioncash | 1 | -1/+1 | |
Migrates a remaining common file over to the Common namespace, making it consistent with the rest of common files. This also allows for high-traffic FS related code to alias the filesystem function namespace as namespace FS = Common::FS; for more concise typing. | |||||
2020-08-07 | common/concepts: Rename IsBaseOf to DerivedFrom | Lioncash | 1 | -1/+1 | |
This makes it more inline with its currently unavailable standardized analogue std::derived_from. While we're at it, we can also make the template match the requirements of the standardized variant as well. | |||||
2020-08-03 | Place in anonymous namespace | David Marcec | 1 | -0/+4 | |
2020-08-03 | loader: Make IdentifyFile typesafe | David Marcec | 1 | -20/+32 | |
Relies on #4465 for concept.h Common::IsBaseOf | |||||
2019-06-05 | loader: Add recognition for KIP file type | Zach Hilman | 1 | -0/+10 | |
2019-06-05 | loader: Add KIP and INI file parser-specific errors | Zach Hilman | 1 | -1/+5 | |
2018-12-21 | kernel/process: Hook up the process capability parser to the process itself | Lioncash | 1 | -1/+3 | |
While we're at it, we can also toss out the leftover capability parsing from Citra. | |||||
2018-10-15 | nso: Return an optional address from LoadModule | Lioncash | 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. | |||||
2018-10-05 | loader: Add getter for packed update | Zach Hilman | 1 | -1/+2 | |
Reads the update included with the game if it has one and adds the new ErrorNoPackedUpdate status. | |||||
2018-09-15 | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 1 | -1/+1 | |
2018-09-04 | bktr: Fix bucket overlap error | Zach Hilman | 1 | -2/+2 | |
2018-09-04 | loader: Add BKTR-specific error messages and codes | Zach Hilman | 1 | -1/+10 | |
2018-09-04 | loader: Add NSP file type and NSP-specific errors | Zach Hilman | 1 | -2/+12 | |
2018-09-02 | vfs_real: Forward declare IOFile | Lioncash | 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. | |||||
2018-08-23 | loader: Add new NAX-specific errors and messages | Zach Hilman | 1 | -1/+14 | |
2018-08-23 | nax: Add AppLoader_NAX and update loader to support it | Zach Hilman | 1 | -2/+12 | |
2018-08-15 | loader: Make ResultStatus directly compatible with fmt | Lioncash | 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. | |||||
2018-08-15 | loader: Remove address mapping remnants from citra | Lioncash | 1 | -6/+0 | |
These mappings are leftovers from citra and don't apply to the Switch. | |||||
2018-08-12 | Fixed invalid cast in loader | David Marcec | 1 | -1/+1 | |
GetMessageForResultStatus takes a u16, not a size_t. | |||||
2018-08-12 | loader: Recognize filename '00' as NCA | Zach Hilman | 1 | -0/+2 | |
Needed to avoid mismatch filetype warnings on split NAND NCAs | |||||
2018-08-10 | loader: Add more descriptive errors | Zach Hilman | 1 | -0/+49 | |
Full list of new errors and descriptions in core/loader/loader.h | |||||
2018-08-09 | loader: Remove unused IdentifyFile overload | Zach Hilman | 1 | -4/+0 | |
2018-08-07 | Avoid parsing RomFS to directory in NCA | Zach Hilman | 1 | -1/+1 | |
2018-08-01 | Remove files that are not used | Zach Hilman | 1 | -0/+9 | |
2018-07-23 | loader: Remove unnecessary constructor call in IdentifyFile() | Lioncash | 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. | |||||
2018-07-22 | file_util, vfs: Use std::string_view where applicable | Lioncash | 1 | -1/+2 | |
Avoids unnecessary construction of std::string instances where applicable. | |||||
2018-07-19 | loader: Amend Doxygen comments | Lioncash | 1 | -2/+2 | |
These weren't adjusted when VFS was introduced | |||||
2018-07-19 | Virtual Filesystem 2: Electric Boogaloo (#676) | Zach Hilman | 1 | -38/+25 | |
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression | |||||
2018-07-08 | Revert "Virtual Filesystem (#597)" | bunnei | 1 | -25/+38 | |
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2. | |||||
2018-07-06 | Virtual Filesystem (#597) | Zach Hilman | 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 | |||||
2018-07-03 | Rename logging macro back to LOG_* | James Rowe | 1 | -4/+4 | |
2018-06-21 | Add support for decrypted NCA files (#567) | Zach Hilman | 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 | |||||
2018-04-25 | loader: Move old logging macros over to new fmt-capable ones | Lioncash | 1 | -4/+4 | |
2018-01-20 | loader: Clean up ctors and includes. | bunnei | 1 | -3/+1 | |
2018-01-20 | loader: Add DeconstructedRomDirectory for game dumps. | bunnei | 1 | -0/+8 | |
2018-01-20 | loader: Refactor to also pass filepath into IdentifyType. | bunnei | 1 | -5/+5 | |
2018-01-14 | Add missing FileType declarations in GuessFromExtension and GetFileTypeString | Thog | 1 | -0/+8 | |
2017-10-13 | Remove more 3DS-specific code. | bunnei | 1 | -2/+0 | |
2017-10-13 | Remove lots more 3DS-specific code. | bunnei | 1 | -31/+0 | |
2017-10-10 | loader: Various improvements for NSO/NRO loaders. | bunnei | 1 | -2/+2 | |
2017-10-06 | loader: Add support for NRO, as well as various fixes and shared linker. | bunnei | 1 | -0/+6 | |
2017-09-30 | loader: Add support for loading an NSO. | bunnei | 1 | -0/+6 | |
2017-03-08 | loader: lower file name logging level | wwylele | 1 | -1/+1 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 1 | -2/+0 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 1 | -7/+8 | |
2016-05-21 | CitraQt: Simplify the game list loader code | Emmanuel Gil Peyrot | 1 | -3/+11 | |
2016-05-21 | Loader, Frontends: Refactor loader creation and game loading | Emmanuel Gil Peyrot | 1 | -43/+7 | |
This allows frontends to keep a single loader and use it multiple times e.g. for code loading and SMDH parsing. | |||||
2016-05-06 | fix:return proper error | wwylele | 1 | -2/+3 | |
2016-05-04 | add icon & title to game list | wwylele | 1 | -19/+31 | |
2016-04-05 | Common: Remove Common::make_unique, use std::make_unique | MerryMage | 1 | -3/+2 | |
2016-03-08 | Improve error report from Init() functions | LittleWhite | 1 | -1/+0 | |
Add error popup when citra initialization failed | |||||
2016-03-03 | Display errors in GUI when loading ROM failed | LittleWhite | 1 | -2/+3 | |
2015-10-01 | Expose loader helper functions for identifying files. | archshift | 1 | -13/+13 | |
2015-09-21 | Implement 3dsx RomFS | Cruel | 1 | -1/+9 | |
2015-09-10 | General: Fix up doxygen comments | Lioncash | 1 | -1/+1 | |
2015-08-15 | Properly indicate that CIA support is not implemented yet | Benjamin Barenblat | 1 | -0/+4 | |
Make `Loader::LoadFile` return an `ErrorNotImplemented` if you call it on a CIA file. | |||||
2015-08-15 | Give CIA file type a name | Benjamin Barenblat | 1 | -0/+2 | |
Make `GetFileTypeString` return ‘CIA’ for CIA (CTR Importable Archive) files. | |||||
2015-07-26 | loader: Remove unnecessary else usages | Lioncash | 1 | -9/+9 | |
2015-07-14 | Loader: Remove unnecessary pointer indirection to IOFile | Yuri Kunde Schlesner | 1 | -3/+3 | |
2015-07-14 | FS: Stream RomFS from file instead of loading all of it to memory | condut | 1 | -1/+1 | |
2015-06-28 | Common: Cleanup key_map includes. | Emmanuel Gil Peyrot | 1 | -0/+1 | |
2015-06-28 | Common: Fix FileUtil includes, and everything relying on those. | Emmanuel Gil Peyrot | 1 | -0/+1 | |
2015-05-15 | Memmap: Re-organize memory function in two files | Yuri Kunde Schlesner | 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. | |||||
2015-05-09 | Loader: Remove .bin file support | Yuri Kunde Schlesner | 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. | |||||
2015-05-09 | Process: Rename StaticAddressMapping => AddressMapping | Yuri Kunde Schlesner | 1 | -2/+2 | |
2015-05-09 | Process: Support parsing of exheader kernel caps | Yuri Kunde Schlesner | 1 | -0/+1 | |
2015-05-09 | Kernel: Remove g_program_id | Yuri Kunde Schlesner | 1 | -1/+0 | |
This has been obsoleted by the field in Process. | |||||
2015-05-09 | Kernel: Introduce skeleton Process class to hold process data | Yuri Kunde Schlesner | 1 | -16/+21 | |
2015-05-07 | Common: Remove common.h | Yuri Kunde Schlesner | 1 | -0/+1 | |
2015-02-12 | Build: Fixed some warnings | Subv | 1 | -1/+3 | |
2015-02-10 | FS: Allow multiple instances of the same archive type to be open at once | Yuri Kunde Schlesner | 1 | -1/+1 | |
2015-01-30 | loader: Add missing printf argument | Lioncash | 1 | -1/+1 | |
2015-01-15 | Loader: Display the type of the file being loaded. | Emmanuel Gil Peyrot | 1 | -3/+23 | |
2015-01-15 | Loader: Guess filetype from the magic, or fallback to the extension. | Emmanuel Gil Peyrot | 1 | -15/+45 | |
2015-01-15 | Loader: Keep a reference to the file and pass it to the correct AppLoader, instead of loading it multiple times. | Emmanuel Gil Peyrot | 1 | -12/+11 | |
2015-01-15 | Loader: Don’t duplicate the docstring into the cpp file. | Emmanuel Gil Peyrot | 1 | -5/+0 | |
2015-01-05 | Fix correct espace | Dante38490 | 1 | -2/+2 | |
2015-01-05 | Add support load 3DS room | Dante38490 | 1 | -0/+2 | |
2014-12-21 | License change | purpasmart96 | 1 | -1/+1 | |
2014-12-20 | Common: Add a clone of std::make_unique | Yuri Kunde Schlesner | 1 | -2/+4 | |
2014-12-18 | Filesystem/Archives: Implemented the SaveData archive | Subv | 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 | |||||
2014-12-16 | FS.Archive: Clean up treatment of archives and their handles | Yuri Kunde Schlesner | 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. | |||||
2014-12-16 | Service.FS: Do archive registration using IdCode instead of name | Yuri Kunde Schlesner | 1 | -1/+1 | |
2014-12-16 | HLE: Rename namespaces to match move & fix initialization order | Yuri Kunde Schlesner | 1 | -1/+1 | |
2014-12-16 | HLE: Move kernel/archive.* to service/fs/ | Yuri Kunde Schlesner | 1 | -1/+1 | |
2014-12-13 | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 1 | -3/+3 | |
2014-12-08 | Loader: Add 3DSX support | ichfly | 1 | -0/+7 | |
2014-09-17 | Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions. | Emmanuel Gil Peyrot | 1 | -1/+1 | |
2014-09-09 | core: Prune redundant includes | archshift | 1 | -1/+0 | |
2014-09-09 | Added string_util to common, small changes in loader.cpp | archshift | 1 | -16/+15 | |
2014-09-09 | loader.cpp: improved file extension checking, made Upper/LowerStr useful | archshift | 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. | |||||
2014-08-31 | Loader: Added support for loading raw BIN executables. | bunnei | 1 | -0/+20 | |
- Useful for debugging homebrew Qt: Updated GUI to support loading .bin files. | |||||
2014-08-28 | Loader: Added support for loading raw BIN executables. | bunnei | 1 | -0/+20 | |
- Useful for debugging homebrew Qt: Updated GUI to support loading .bin files. | |||||
2014-07-05 | FileSys: Added preliminary support for applications reading the RomFS archive. | bunnei | 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. | |||||
2014-06-25 | Loader: Refactored use of const. | bunnei | 1 | -2/+2 | |
2014-06-25 | Loader: Implemented AppLoader interface for abstracting application loading. | bunnei | 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. | |||||
2014-06-17 | Loader: Cleaned up and removed unused code, refactored ELF namespace. | bunnei | 1 | -139/+3 | |
2014-06-17 | Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> spaces. | bunnei | 1 | -1/+1 | |
2014-06-17 | Loader: Added support for booting NCCH executables. | bunnei | 1 | -0/+5 | |
NCCH: Fixed typo in printing NCCH filename. | |||||
2014-06-17 | Loader: Moved elf and loader modules to a "loader" subdirectory. | bunnei | 1 | -2/+2 | |
2014-06-16 | Loader: Added stubbed detection of CXI and CCI files. | bunnei | 1 | -0/+6 | |
2014-06-16 | Loader: Removed unused CXI and DAT loading code. | bunnei | 1 | -76/+0 | |
2014-05-23 | kernel: refactored function naming to remove "__" prefix | bunnei | 1 | -3/+3 | |
2014-05-16 | added ability to load AXF files (same as ELF) | bunnei | 1 | -0/+3 | |
2014-05-14 | changed loader to use __KernelLoadExec | bunnei | 1 | -8/+9 | |
2014-05-01 | - added option to load a code.bin file extracted from a CXI file | bunnei | 1 | -3/+50 | |
- updated load launcher.dat function to use ARM11 format hack | |||||
2014-04-22 | Add a quick way to load Launcher.dat files | Mathieu Vaillancourt | 1 | -0/+54 | |
2014-04-09 | fixed project includes to use new directory structure | bunnei | 1 | -6/+8 | |
2014-04-09 | got rid of 'src' folders in each sub-project | bunnei | 1 | -0/+0 | |
2014-04-09 | fixed all license file headers in core | bunnei | 1 | -23/+3 | |
2014-04-05 | added entry point loading from ELF file | bunnei | 1 | -2/+4 | |
2014-04-01 | added ELF loading support to loader.cpp | bunnei | 1 | -69/+113 | |
2013-10-06 | renamed FILETYPE_CTR_DIRECTORY to FILETYPE_DIRECTORY_CXI | ShizZy | 1 | -11/+9 | |
2013-10-02 | added an early function for booting from a directory | ShizZy | 1 | -9/+30 | |
2013-09-20 | added a module for loading bootable binaries | ShizZy | 1 | -0/+123 | |