aboutsummaryrefslogtreecommitdiff
path: root/src/core/loader
AgeCommit message (Collapse)Author
2018-07-20Merge pull request #752 from Subv/vfs_loadbunnei
Loader: Only print the module names and addresses if they actually exist.
2018-07-20Loader: Only print the module names and addresses if they actually exist.Subv
2018-07-20Merge pull request #737 from lioncash/movebunnei
filesys/loader: std::move VirtualFile instances in constructors where applicable
2018-07-20loader/{nca, nro}: std::move VirtualFile in the constructors where applicableLioncash
This avoids unnecessary atomic reference count increments and decrements
2018-07-19nso: Silence implicit sign conversion warningsLioncash
2018-07-19nso: Remove unused function ReadSegment()Lioncash
2018-07-19Merge pull request #719 from lioncash/docsbunnei
loader: Amend Doxygen comments
2018-07-19Merge pull request #718 from lioncash/readbunnei
loader/nso: Check if read succeeded in IdentifyFile() before checking magic value
2018-07-19loader: Amend Doxygen commentsLioncash
These weren't adjusted when VFS was introduced
2018-07-19loader/nso: Check if read succeeded in IdentifyFile() before checking magic ↵Lioncash
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.
2018-07-18loader/nro: Resolve sign mismatch warningsLioncash
2018-07-18loader/nso: Remove unnecessary vector resizesLioncash
We can just initialize these vectors directly via their constructor.
2018-07-18loader/nso: Resolve sign mismatch warningsLioncash
2018-07-18Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-17General Filesystem and Save Data Fixes (#670)Zach Hilman
2018-07-12More improvements to GDBStub (#653)Hedges
* 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-07Revert "Virtual Filesystem (#597)"bunnei
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
2018-07-06Virtual Filesystem (#597)Zach Hilman
* 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-02Update clang formatJames Rowe
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-06-21Add support for decrypted NCA files (#567)Zach Hilman
* 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 straightforwardLioncash
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-compatibleLioncash
2018-04-24loader: Move old logging macros over to new fmt-capable onesLioncash
2018-04-20Kernel: Use 0x2C as default main thread priority for homebrew and lone NRO/NSOsSubv
2018-04-06core, main.h: Abort on 32Bit ROMs (#309)N00byKing
* core, main.h: Abort on 32Bit ROMs * main.cpp: Fix Grammar
2018-04-03deconstructed_rom_directory.cpp: Fix TypoN00byKing
2018-03-31memory: Fix stack region.bunnei
2018-03-19Clean Warnings (?)N00byKing
2018-03-16kernel: Move stack region outside of application heap.bunnei
2018-03-14core: Move process creation out of global state.bunnei
2018-03-01Kernel: Store the program id in the Process class instead of the CodeSet class.Subv
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 CodeSetshinyquagsire23
2018-02-25loader: Use NPDM information when loading NSOsshinyquagsire23
2018-02-14nso: Silence formatting specifier warningsLioncash
2018-02-14deconstructed_rom_directory: Silence formatting specifier warningsLioncash
2018-02-05Changed .istorage to .romfsDavid Marcec
2018-01-21deconstructed_rom_directory: Implement istorage loading for RomFS.bunnei
2018-01-20Merge pull request #92 from gdkchan/nro_refactorbunnei
Fix NRO entry point
2018-01-20loader: Minor style fix in deconstructed_rom_directoryRozlette
2018-01-20Merge pull request #117 from jroweboy/clang-formatbunnei
Clang format as a build target
2018-01-20Format: Run the new clang format on everythingJames Rowe
2018-01-20loader: Clean up ctors and includes.bunnei
2018-01-20loader: Add DeconstructedRomDirectory for game dumps.bunnei
2018-01-20loader: Refactor to also pass filepath into IdentifyType.bunnei
2018-01-20nso: Remove code specific to directory loading.bunnei
2018-01-18Fix NRO Entry Pointgdkchan
2018-01-17Fix NRO loadinggdkchan
2018-01-17Remove relocation on NSO/NROgdkchan
2018-01-16Merge pull request #44 from Rozelette/masterbunnei
nso: Modify .bss size calculation logic