Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-10-13 | core/CMakeLists: Make some warnings errors | Lioncash | 1 | -1/+1 | |
Makes our error coverage a little more consistent across the board by applying it to Linux side of things as well. This also makes it more consistent with the warning settings in other libraries in the project. This also updates httplib to 0.7.9, as there are several warning cleanups made that allow us to enable several warnings as errors. | |||||
2020-09-16 | core/loader: Remove dependencies on the global system instance | Lioncash | 1 | -4/+8 | |
Now all that remains is: 18 instances in file_sys code 14 instances in GDB stub code (this can be tossed wholesale) 4 instances in HLE code 2 instances in settings code. | |||||
2020-04-17 | loader: nso: Fix loader size and arguments. | bunnei | 1 | -2/+1 | |
2020-01-23 | loader: provide default arguments (zero byte) to NSOs | Michael Scire | 1 | -0/+2 | |
Certain newer unity games (Terraria, Pokemon Mystery Dungeon) require that the argument region be populated. Failure to do so results in an integer underflow in argument count, and eventually an unmapped read at 0x800000000. Providing this default fixes this. Note that the behavior of official software is as yet unverified, arguments-wise. | |||||
2019-05-26 | loader: Move NSO module tracking to AppLoader | Zach Hilman | 1 | -0/+5 | |
Also cleanup of general stuff | |||||
2019-04-12 | core/core: Move process execution start to System's Load() | Lioncash | 1 | -1/+1 | |
This gives us significantly more control over where in the initialization process we start execution of the main process. Previously we were running the main process before the CPU or GPU threads were initialized (not good). This amends execution to start after all of our threads are properly set up. | |||||
2019-03-22 | file_sys/patch_manager: Deduplicate NSO header | Lioncash | 1 | -0/+39 | |
This source file was utilizing its own version of the NSO header. Instead of keeping this around, we can have the patch manager also use the version of the header that we have defined in loader/nso.h | |||||
2019-03-20 | loader: Remove Linker inheritance from NRO and NSO loaders | Lioncash | 1 | -2/+2 | |
Neither the NRO or NSO loaders actually make use of the functions or members provided by the Linker interface, so we can just remove the inheritance altogether. | |||||
2019-03-05 | vm_manager: Remove cheat-specific ranges from VMManager | Zach Hilman | 1 | -1/+0 | |
2019-03-05 | loader/nso: Set main code region in VMManager | Zach Hilman | 1 | -0/+1 | |
For rom directories (and by extension, XCI/NSP/NAX/NCA) this is for the NSO with name 'main', for regular NSOs, this is the NSO. | |||||
2018-12-05 | loaders: Make GetFileType() a const qualified member function | Lioncash | 1 | -1/+1 | |
No implementations actually modify instance state (and it would be questionable to do that in the first place given the name), so we can make this a const member function. | |||||
2018-12-03 | loader/nso: Remove dependency on the System class | Lioncash | 1 | -2/+6 | |
Similar to the NRO changes, we can also pass the process explicitly as a parameter from Load instead of indirecting through the System class. | |||||
2018-10-15 | nso: Return an optional address from LoadModule | Lioncash | 1 | -3/+4 | |
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-15 | nso: Make LoadModule take a VfsFile by const reference | Lioncash | 1 | -1/+2 | |
2018-10-07 | nso/nro: Use default allocation size for arg_data | Zach Hilman | 1 | -0/+2 | |
2018-10-07 | nso/nro: Add NSO arguments structure to data section | Zach Hilman | 1 | -1/+8 | |
Only added if arguments string is non-empty and a pass is requested by loader. | |||||
2018-10-02 | nso: Optimize loading of IPS patches | Zach Hilman | 1 | -1/+1 | |
Avoid resource-heavy classes and remove quasi-duplicated code. | |||||
2018-10-01 | nso: Add framework to support patching of uncompressed NSOs | Zach Hilman | 1 | -1/+3 | |
2018-09-29 | loader: Make the Load() function take a process as a regular reference, not a SharedPtr | Lioncash | 1 | -3/+1 | |
A process should never require being reference counted in this situation. If the handle to a process is freed before this function is called, it's definitely a bug with our lifetime management, so we can put the requirement in place for the API that the process must be a valid instance. | |||||
2018-08-02 | kernel: Move object class to its own source files | Lioncash | 1 | -1/+1 | |
General moving to keep kernel object types separate from the direct kernel code. Also essentially a preliminary cleanup before eliminating global kernel state in the kernel code. | |||||
2018-07-19 | Virtual Filesystem 2: Electric Boogaloo (#676) | Zach Hilman | 1 | -12/+5 | |
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression | |||||
2018-07-08 | Revert "Virtual Filesystem (#597)" | bunnei | 1 | -5/+12 | |
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2. | |||||
2018-07-06 | Virtual Filesystem (#597) | Zach Hilman | 1 | -12/+5 | |
* 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-06-21 | Add support for decrypted NCA files (#567) | Zach Hilman | 1 | -0/+3 | |
* 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-03-02 | Kernel: Store the program id in the Process class instead of the CodeSet class. | Subv | 1 | -1/+1 | |
There may be many CodeSets per Process, so it's wasteful and overcomplicated to store the program id in each of them. | |||||
2018-02-25 | loader: Check error on NPDM load, use TID for CodeSet | shinyquagsire23 | 1 | -1/+1 | |
2018-01-20 | loader: Clean up ctors and includes. | bunnei | 1 | -3/+1 | |
2018-01-20 | loader: Refactor to also pass filepath into IdentifyType. | bunnei | 1 | -4/+3 | |
2018-01-20 | nso: Remove code specific to directory loading. | bunnei | 1 | -1/+2 | |
2018-01-17 | Remove relocation on NSO/NRO | gdkchan | 1 | -1/+1 | |
2018-01-16 | clang-format | MerryMage | 1 | -2/+1 | |
2018-01-13 | yuzu: Update license text to be consistent across project. | bunnei | 1 | -1/+1 | |
2017-10-10 | loader: Various improvements for NSO/NRO loaders. | bunnei | 1 | -5/+3 | |
2017-10-06 | loader: Add support for NRO, as well as various fixes and shared linker. | bunnei | 1 | -18/+2 | |
2017-10-04 | nso: Fixes to support homebrew NSOs without a MOD header. | bunnei | 1 | -1/+1 | |
2017-09-30 | nso: Refactor and allocate .bss section. | bunnei | 1 | -1/+24 | |
2017-09-30 | loader: Add support for loading an NSO. | bunnei | 1 | -8/+7 | |
2017-09-27 | Loaders: Don't automatically set the current process every time we load an application. | Subv | 1 | -1/+1 | |
The loaders will now just create a Kernel::Process, construct it and return it to the caller, which is responsible for setting it as the current process and configuring the global page table. | |||||
2016-12-22 | loader: Remove duplicate docstrings. | bunnei | 1 | -8/+0 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 1 | -1/+0 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-19 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 1 | -2/+1 | |
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 1 | -1/+2 | |
2016-05-21 | Loader: Add a GetFileType method to get the type of a loaded file | Emmanuel Gil Peyrot | 1 | -0/+8 | |
2015-07-14 | Loader: Remove unnecessary pointer indirection to IOFile | Yuri Kunde Schlesner | 1 | -1/+1 | |
2015-05-09 | Kernel: Introduce skeleton Process class to hold process data | Yuri Kunde Schlesner | 1 | -1/+7 | |
2015-01-15 | Loader: Guess filetype from the magic, or fallback to the extension. | Emmanuel Gil Peyrot | 1 | -0/+7 | |
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 | -6/+1 | |
2015-01-15 | Loader: Never forget to change is_loaded. | Emmanuel Gil Peyrot | 1 | -1/+1 | |
2014-12-21 | License change | purpasmart96 | 1 | -2/+2 | |
2014-07-05 | Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override". | bunnei | 1 | -2/+2 | |
2014-07-05 | Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final" | bunnei | 1 | -1/+1 | |
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 | -214/+16 | |
- 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 | Elf: Removed unused macros, changed #include of "common.h" to just "common_types.h". | bunnei | 1 | -117/+1 | |
2014-06-17 | Loader: Cleaned up and removed unused code, refactored ELF namespace. | bunnei | 1 | -0/+15 | |
2014-06-17 | Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> spaces. | bunnei | 1 | -91/+141 | |
2014-06-17 | Loader: Moved elf and loader modules to a "loader" subdirectory. | bunnei | 1 | -0/+0 | |
2014-04-09 | got rid of 'src' folders in each sub-project | bunnei | 1 | -0/+0 | |
2014-03-25 | added Dolphin's ELF reader to the project | bunnei | 1 | -0/+281 | |