summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nro.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* android: Add proper homebrew checkCharles Lombardo2023-06-101-0/+2
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* hle: kernel: Rename Process to KProcess.bunnei2021-05-061-3/+3
|
* loader: Resolve instances of variable shadowingLioncash2021-04-271-6/+8
| | | | | Eliminates variable shadowing cases across all the loaders to bring us closer to enabling variable shadowing as an error in core.
* vfs: Use existing type aliases consistentlyLioncash2020-12-101-1/+1
| | | | | Makes use of the VirtualDir and VirtualFile aliases across the board instead of having a few isolated places that don't use it.
* core/loader: Remove dependencies on the global system instanceLioncash2020-09-161-1/+5
| | | | | | | | | Now all that remains is: 18 instances in file_sys code 14 instances in GDB stub code (this can be tossed wholesale) 4 instances in HLE code 2 instances in settings code.
* loader: nro: Fix process initialization using ProgramMetadata default.bunnei2020-04-211-1/+1
|
* 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