summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nso.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* loader: Remove address mapping remnants from citraLioncash2018-08-151-1/+0
| | | | These mappings are leftovers from citra and don't apply to the Switch.
* kernel/process: Use accessors instead of class members for referencing segment arrayLioncash2018-08-031-1/+1
| | | | | | | 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.
* nso: Silence implicit sign conversion warningsLioncash2018-07-201-4/+6
|
* nso: Remove unused function ReadSegment()Lioncash2018-07-201-13/+0
|
* Merge pull request #718 from lioncash/readbunnei2018-07-201-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 valueLioncash2018-07-191-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.
* | loader/nso: Remove unnecessary vector resizesLioncash2018-07-191-4/+2
| | | | | | | | We can just initialize these vectors directly via their constructor.
* | loader/nso: Resolve sign mismatch warningsLioncash2018-07-191-1/+1
|/
* Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman2018-07-191-76/+17
| | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
* General Filesystem and Save Data Fixes (#670)Zach Hilman2018-07-171-1/+1
|
* More improvements to GDBStub (#653)Hedges2018-07-131-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
* Revert "Virtual Filesystem (#597)"bunnei2018-07-081-16/+75
| | | | This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
* Virtual Filesystem (#597)Zach Hilman2018-07-061-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
* Rename logging macro back to LOG_*James Rowe2018-07-031-2/+2
|
* Add support for decrypted NCA files (#567)Zach Hilman2018-06-211-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
* general: Make formatting of logged hex values more straightforwardLioncash2018-05-021-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).
* general: Convert assertion macros over to be fmt-compatibleLioncash2018-04-271-1/+1
|
* loader: Move old logging macros over to new fmt-capable onesLioncash2018-04-251-3/+2
|
* Kernel: Use 0x2C as default main thread priority for homebrew and lone NRO/NSOsSubv2018-04-211-1/+1
|
* memory: Fix stack region.bunnei2018-03-311-1/+1
|
* kernel: Move stack region outside of application heap.bunnei2018-03-161-1/+1
|
* core: Move process creation out of global state.bunnei2018-03-141-3/+2
|
* Kernel: Store the program id in the Process class instead of the CodeSet class.Subv2018-03-021-4/+4
| | | | There may be many CodeSets per Process, so it's wasteful and overcomplicated to store the program id in each of them.
* loader: Check error on NPDM load, use TID for CodeSetshinyquagsire232018-02-251-3/+3
|
* nso: Silence formatting specifier warningsLioncash2018-02-141-2/+4
|
* loader: Clean up ctors and includes.bunnei2018-01-201-0/+4
|
* loader: Refactor to also pass filepath into IdentifyType.bunnei2018-01-201-2/+1
|
* nso: Remove code specific to directory loading.bunnei2018-01-201-16/+4
|
* Remove relocation on NSO/NROgdkchan2018-01-171-9/+1
|
* Merge pull request #44 from Rozelette/masterbunnei2018-01-161-3/+7
|\ | | | | nso: Modify .bss size calculation logic
| * nso: Modify .bss size calculation logicRozlette2018-01-161-3/+7
| |
* | clang-formatMerryMage2018-01-161-1/+2
|/
* nso: Load subsdk4 if available.bunnei2018-01-151-1/+1
|
* yuzu: Update license text to be consistent across project.bunnei2018-01-131-1/+1
|
* nso: Always load the filepath specified by the user.bunnei2018-01-071-1/+3
|
* nso: Load more common submodules.bunnei2017-10-231-15/+11
|
* memory: Support 32-bit paging, move heap address space up.bunnei2017-10-231-1/+1
|
* core: Refactor MakeMagic usage and remove dead code.bunnei2017-10-151-3/+4
|
* nso: Add a log for loading submodules.bunnei2017-10-141-0/+1
|
* Merge remote-tracking branch 'upstream/master' into nxbunnei2017-10-101-6/+6
| | | | | | | | | | | | | | | | | # Conflicts: # src/core/CMakeLists.txt # src/core/arm/dynarmic/arm_dynarmic.cpp # src/core/arm/dyncom/arm_dyncom.cpp # src/core/hle/kernel/process.cpp # src/core/hle/kernel/thread.cpp # src/core/hle/kernel/thread.h # src/core/hle/kernel/vm_manager.cpp # src/core/loader/3dsx.cpp # src/core/loader/elf.cpp # src/core/loader/ncch.cpp # src/core/memory.cpp # src/core/memory.h # src/core/memory_setup.h
* loader: Various improvements for NSO/NRO loaders.bunnei2017-10-101-26/+24
|
* loader: Add support for NRO, as well as various fixes and shared linker.bunnei2017-10-061-128/+15
|
* nso: Fixes to support homebrew NSOs without a MOD header.bunnei2017-10-041-16/+22
|
* nso: Refactor and allocate .bss section.bunnei2017-09-301-112/+111
|
* loader: Add support for loading an NSO.bunnei2017-09-301-0/+295