| Age | Commit message (Collapse) | Author |
|
Eliminates duplicate code shared between their Load methods, after all the only difference is how the romfs is handled.
|
|
XCI and Encrypted NCA Support
|
|
segment array
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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Avoids unwanted implicit conversions. Thankfully, given the large amount
of cleanup in past PRs, only this tiny amount is left over to cover.
|
|
loader: Minor cleanup
|
|
linker: Remove unused parameter from WriteRelocations()
|
|
RealVfsFile inherits from VfsFile, the instance from std::make_shared is
already compatible with the function argument type, making the copy
constructor call unnecessary.
|
|
is_jump_relocation is never used within the function, so we can just
remove it.
|
|
It's sufficient to use a forward declaration instead of a direct
inclusion here.
|
|
Makes the code more uniform, and also braces cases where the body of an
unbraced conditional travels more than one line.
|
|
Makes it consistent with the other Apploader constructors, and prevents
implicit conversions.
|
|
This isn't used anywhere in the header.
|
|
Cleanup
Review fixes
|
|
Avoids unnecessary construction of std::string instances where
applicable.
|
|
This avoids a truncating cast on size. I doubt we'd ever traverse a
directory this large, however we also shouldn't truncate sizes away.
|
|
Loader: Only print the module names and addresses if they actually exist.
|
|
|
|
filesys/loader: std::move VirtualFile instances in constructors where applicable
|
|
This avoids unnecessary atomic reference count increments and decrements
|
|
|
|
|
|
loader: Amend Doxygen comments
|
|
loader/nso: Check if read succeeded in IdentifyFile() before checking magic value
|
|
These weren't adjusted when VFS was introduced
|
|
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.
|
|
|
|
We can just initialize these vectors directly via their constructor.
|
|
|
|
* Virtual Filesystem
* Fix delete bug and documentate
* Review fixes + other stuff
* Fix puyo regression
|
|
|
|
* 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
|
|
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
|
|
* 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
|
|
|
|
|
|
* 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
|
|
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).
|
|
|
|
|
|
|
|
* core, main.h: Abort on 32Bit ROMs
* main.cpp: Fix Grammar
|
|
|