summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nso.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-20nso: Silence implicit sign conversion warningsLioncash1-4/+6
2018-07-20nso: Remove unused function ReadSegment()Lioncash1-13/+0
2018-07-19loader/nso: Check if read succeeded in IdentifyFile() before checking magic valueLioncash1-4/+6
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.
2018-07-19loader/nso: Remove unnecessary vector resizesLioncash1-4/+2
We can just initialize these vectors directly via their constructor.
2018-07-19loader/nso: Resolve sign mismatch warningsLioncash1-1/+1
2018-07-19Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman1-76/+17
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-17General Filesystem and Save Data Fixes (#670)Zach Hilman1-1/+1
2018-07-13More improvements to GDBStub (#653)Hedges1-0/+4
* 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
2018-07-08Revert "Virtual Filesystem (#597)"bunnei1-16/+75
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
2018-07-06Virtual Filesystem (#597)Zach Hilman1-75/+16
* 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-03Rename logging macro back to LOG_*James Rowe1-2/+2
2018-06-21Add support for decrypted NCA files (#567)Zach Hilman1-11/+68
* 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-05-02general: Make formatting of logged hex values more straightforwardLioncash1-1/+1
This makes the formatting expectations more obvious (e.g. any zero padding specified is padding that's entirely dedicated to the value being printed, not any pretty-printing that also gets tacked on).
2018-04-27general: Convert assertion macros over to be fmt-compatibleLioncash1-1/+1
2018-04-25loader: Move old logging macros over to new fmt-capable onesLioncash1-3/+2
2018-04-21Kernel: Use 0x2C as default main thread priority for homebrew and lone NRO/NSOsSubv1-1/+1
2018-03-31memory: Fix stack region.bunnei1-1/+1
2018-03-16kernel: Move stack region outside of application heap.bunnei1-1/+1
2018-03-14core: Move process creation out of global state.bunnei1-3/+2
2018-03-02Kernel: Store the program id in the Process class instead of the CodeSet class.Subv1-4/+4
There may be many CodeSets per Process, so it's wasteful and overcomplicated to store the program id in each of them.
2018-02-25loader: Check error on NPDM load, use TID for CodeSetshinyquagsire231-3/+3
2018-02-14nso: Silence formatting specifier warningsLioncash1-2/+4
2018-01-20loader: Clean up ctors and includes.bunnei1-0/+4
2018-01-20loader: Refactor to also pass filepath into IdentifyType.bunnei1-2/+1
2018-01-20nso: Remove code specific to directory loading.bunnei1-16/+4
2018-01-17Remove relocation on NSO/NROgdkchan1-9/+1
2018-01-16clang-formatMerryMage1-1/+2
2018-01-16nso: Modify .bss size calculation logicRozlette1-3/+7
2018-01-15nso: Load subsdk4 if available.bunnei1-1/+1
2018-01-13yuzu: Update license text to be consistent across project.bunnei1-1/+1
2018-01-07nso: Always load the filepath specified by the user.bunnei1-1/+3
2017-10-23nso: Load more common submodules.bunnei1-15/+11
2017-10-23memory: Support 32-bit paging, move heap address space up.bunnei1-1/+1
2017-10-15core: Refactor MakeMagic usage and remove dead code.bunnei1-3/+4
2017-10-14nso: Add a log for loading submodules.bunnei1-0/+1
2017-10-10loader: Various improvements for NSO/NRO loaders.bunnei1-26/+24
2017-10-06loader: Add support for NRO, as well as various fixes and shared linker.bunnei1-128/+15
2017-10-04nso: Fixes to support homebrew NSOs without a MOD header.bunnei1-16/+22
2017-09-30nso: Refactor and allocate .bss section.bunnei1-112/+111
2017-09-30loader: Add support for loading an NSO.bunnei1-0/+295