summaryrefslogtreecommitdiff
path: root/src/core/loader (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* loader: Remove unused IdentifyFile overloadGravatar Zach Hilman2018-08-082-12/+0
|
* Merge pull request #850 from DarkLordZach/icon-metaGravatar bunnei2018-08-088-8/+115
|\ | | | | Add Icons and Metadata Support
| * loader: Add icon and title support to XCIGravatar Zach Hilman2018-08-063-3/+37
| |
| * Use const where applicableGravatar Zach Hilman2018-08-061-1/+1
| |
| * Avoid parsing RomFS to directory in NCAGravatar Zach Hilman2018-08-066-6/+79
| |
* | loader: Fix scope error in DeconstructedRomDirectoryGravatar Zach Hilman2018-08-071-1/+1
|/
* loader: Make AppLoader_NCA rely on directory loading codeGravatar Zach Hilman2018-08-054-37/+24
| | | Eliminates duplicate code shared between their Load methods, after all the only difference is how the romfs is handled.
* Merge pull request #849 from DarkLordZach/xciGravatar bunnei2018-08-046-7/+145
|\ | | | | XCI and Encrypted NCA Support
| * Fix merge conflicts with opus and update docsGravatar Zach Hilman2018-08-011-0/+2
| |
| * Use more descriptive error codes and messagesGravatar Zach Hilman2018-08-012-2/+3
| |
| * Use ErrorEncrypted where applicable and fix no keys crashGravatar Zach Hilman2018-08-011-0/+4
| |
| * Add missing includes and use const where applicableGravatar Zach Hilman2018-08-011-0/+3
| |
| * Make XCI comply to review and style guidelinesGravatar Zach Hilman2018-08-012-5/+5
| |
| * Remove files that are not usedGravatar Zach Hilman2018-08-016-6/+134
| |
* | kernel/process: Use accessors instead of class members for referencing ↵Gravatar Lioncash2018-08-033-5/+5
| | | | | | | | | | | | | | | | | | segment array Using member variables for referencing the segments array increases the size of the class in memory for little benefit. The same behavior can be achieved through the use of accessors that just return the relevant segment.
* | kernel: Move object class to its own source filesGravatar Lioncash2018-08-015-5/+5
|/ | | | | | 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.
* deconstructed_rom_directory: Remove unused FindRomFS() functionGravatar Lioncash2018-07-241-29/+0
|
* core: Make converting constructors explicit where applicableGravatar Lioncash2018-07-232-2/+2
| | | | | Avoids unwanted implicit conversions. Thankfully, given the large amount of cleanup in past PRs, only this tiny amount is left over to cover.
* Merge pull request #784 from lioncash/loaderGravatar bunnei2018-07-231-1/+1
|\ | | | | loader: Minor cleanup
| * loader: Remove unnecessary constructor call in IdentifyFile()Gravatar Lioncash2018-07-231-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.
* | Merge pull request #783 from lioncash/linkerGravatar bunnei2018-07-232-7/+4
|\ \ | | | | | | linker: Remove unused parameter from WriteRelocations()
| * | linker: Remove unused parameter from WriteRelocations()Gravatar Lioncash2018-07-232-7/+4
| |/ | | | | | | | | is_jump_relocation is never used within the function, so we can just remove it.
* | nro: Replace inclusion with a forward declarationGravatar Lioncash2018-07-232-1/+8
| | | | | | | | | | It's sufficient to use a forward declaration instead of a direct inclusion here.
* | nro: Make bracing consistentGravatar Lioncash2018-07-231-10/+24
| | | | | | | | | | Makes the code more uniform, and also braces cases where the body of an unbraced conditional travels more than one line.
* | nro: Make constructor explicitGravatar Lioncash2018-07-231-1/+1
| | | | | | | | | | Makes it consistent with the other Apploader constructors, and prevents implicit conversions.
* | nro: Remove unused forward declarationGravatar Lioncash2018-07-231-2/+0
|/ | | | This isn't used anywhere in the header.
* NRO Assets and NACP file formatGravatar Zach Hilman2018-07-232-1/+90
| | | | | | Cleanup Review fixes
* file_util, vfs: Use std::string_view where applicableGravatar Lioncash2018-07-221-1/+2
| | | | | Avoids unnecessary construction of std::string instances where applicable.
* file_util: Use a u64 to represent number of entriesGravatar Lioncash2018-07-211-1/+1
| | | | | This avoids a truncating cast on size. I doubt we'd ever traverse a directory this large, however we also shouldn't truncate sizes away.
* Merge pull request #752 from Subv/vfs_loadGravatar bunnei2018-07-201-5/+2
|\ | | | | Loader: Only print the module names and addresses if they actually exist.
| * Loader: Only print the module names and addresses if they actually exist.Gravatar Subv2018-07-201-5/+2
| |
* | Merge pull request #737 from lioncash/moveGravatar bunnei2018-07-202-2/+4
|\ \ | | | | | | filesys/loader: std::move VirtualFile instances in constructors where applicable
| * | loader/{nca, nro}: std::move VirtualFile in the constructors where applicableGravatar Lioncash2018-07-202-2/+4
| |/ | | | | | | This avoids unnecessary atomic reference count increments and decrements
* | nso: Silence implicit sign conversion warningsGravatar Lioncash2018-07-191-4/+6
| |
* | nso: Remove unused function ReadSegment()Gravatar Lioncash2018-07-191-13/+0
|/
* Merge pull request #719 from lioncash/docsGravatar bunnei2018-07-192-5/+5
|\ | | | | loader: Amend Doxygen comments
| * loader: Amend Doxygen commentsGravatar Lioncash2018-07-192-5/+5
| | | | | | | | These weren't adjusted when VFS was introduced
* | Merge pull request #718 from lioncash/readGravatar bunnei2018-07-191-4/+6
|\ \ | | | | | | loader/nso: Check if read succeeded in IdentifyFile() before checking magic value
| * | loader/nso: Check if read succeeded in IdentifyFile() before checking magic ↵Gravatar Lioncash2018-07-191-4/+6
| |/ | | | | | | | | | | | | | | value We should always assume the filesystem is volatile and check each IO operation. While we're at it reorganize checks so that early-out errors are near one another.
* | loader/nro: Resolve sign mismatch warningsGravatar Lioncash2018-07-181-1/+1
| |
* | loader/nso: Remove unnecessary vector resizesGravatar Lioncash2018-07-181-4/+2
| | | | | | | | We can just initialize these vectors directly via their constructor.
* | loader/nso: Resolve sign mismatch warningsGravatar Lioncash2018-07-181-1/+1
|/
* Virtual Filesystem 2: Electric Boogaloo (#676)Gravatar Zach Hilman2018-07-1812-525/+146
| | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
* General Filesystem and Save Data Fixes (#670)Gravatar Zach Hilman2018-07-173-5/+3
|
* More improvements to GDBStub (#653)Gravatar Hedges2018-07-124-0/+15
| | | | | | | | | | | * More improvements to GDBStub - Debugging of threads should work correctly with source and assembly level stepping and modifying registers and memory, meaning threads and callstacks are fully clickable in VS. - List of modules is available to the client, with assumption that .nro and .nso are backed up by an .elf with symbols, while deconstructed ROMs keep N names. - Initial support for floating point registers. * Tidy up as requested in PR feedback * Tidy up as requested in PR feedback
* Revert "Virtual Filesystem (#597)"Gravatar bunnei2018-07-0712-140/+540
| | | | This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
* Virtual Filesystem (#597)Gravatar Zach Hilman2018-07-0612-540/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Update clang formatGravatar James Rowe2018-07-021-5/+5
|
* Rename logging macro back to LOG_*Gravatar James Rowe2018-07-026-27/+27
|
* Add support for decrypted NCA files (#567)Gravatar Zach Hilman2018-06-216-11/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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