summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nro.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* nro: Implement ReadControlDataNick Renieris2019-09-071-0/+1
| | | | | | With this, the "Developer" field in the Properties for homebrew is now populated. Signed-off-by: Nick Renieris <velocityra@gmail.com>
* core/core: Move process execution start to System's Load()Lioncash2019-04-121-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.
* loader: Remove Linker inheritance from NRO and NSO loadersLioncash2019-03-201-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.
* loaders: Make GetFileType() a const qualified member functionLioncash2018-12-051-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.
* loader/nro: Make the static LoadNro function internally linkedLioncash2018-12-031-3/+0
| | | | | This simply acts as a forwarding function for the Load() function, so this doesn't need to be directly exposed.
* loader/nro: Remove dependency on the System classLioncash2018-12-031-2/+7
| | | | | | Load() is already given the process instance as a parameter, so instead of coupling the class to the System class, we can just forward that parameter to LoadNro()
* nro: Make LoadNro method accessible outside of apploader code.bunnei2018-10-261-0/+3
|
* nro: Make LoadNro take a VfsFile by const referenceLioncash2018-10-151-1/+1
| | | | | | This function doesn't need to care about ownership semantics, so we can just pass it a reference to the file itself, rather than a std::shared_ptr alias.
* loader: Make the Load() function take a process as a regular reference, not a SharedPtrLioncash2018-09-291-2/+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.
* bktr: Fix missing includes and optimize styleZach Hilman2018-09-041-1/+1
|
* loader: Ignore patches on NRO and DRDZach Hilman2018-09-041-0/+1
|
* kernel: Move object class to its own source filesLioncash2018-08-021-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.
* nro: Replace inclusion with a forward declarationLioncash2018-07-231-1/+5
| | | | | It's sufficient to use a forward declaration instead of a direct inclusion here.
* nro: Make constructor explicitLioncash2018-07-231-1/+1
| | | | | Makes it consistent with the other Apploader constructors, and prevents implicit conversions.
* nro: Remove unused forward declarationLioncash2018-07-231-2/+0
| | | | This isn't used anywhere in the header.
* NRO Assets and NACP file formatZach Hilman2018-07-231-0/+12
| | | | | | Cleanup Review fixes
* Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman2018-07-191-8/+5
| | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
* Revert "Virtual Filesystem (#597)"bunnei2018-07-081-5/+8
| | | | This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
* Virtual Filesystem (#597)Zach Hilman2018-07-061-8/+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
* loader: Clean up ctors and includes.bunnei2018-01-201-3/+1
|
* loader: Refactor to also pass filepath into IdentifyType.bunnei2018-01-201-3/+3
|
* yuzu: Update license text to be consistent across project.bunnei2018-01-131-1/+1
|
* Merge remote-tracking branch 'upstream/master' into nxbunnei2017-10-101-1/+1
| | | | | | | | | | | | | | | | | # 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-5/+2
|
* loader: Add support for NRO, as well as various fixes and shared linker.bunnei2017-10-061-0/+45