summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/nca_patch.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* common: Change semantics of UNREACHABLE to unconditionally crashLiam2022-06-141-1/+1
|
* 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.
* file_sys: Resolve cases of variable shadowingLioncash2021-05-021-7/+11
| | | | Brings us closer to enabling -Wshadow as an error in the core code.
* core: Silence warnings when compiling without assertsReinUsesLisp2021-01-051-1/+1
|
* 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.
* Revert "core: Fix clang build"bunnei2020-10-211-4/+3
|
* core: Fix clang buildLioncash2020-10-181-3/+4
| | | | | | | Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
* nca_patch: Significantly reduce the stack usage size within SearchBucketEntry()Lioncash2020-09-151-4/+4
| | | | | | | | | Previously this function was using ~16KB of stack (16528 bytes), which was caused by the function arguments being taken by value rather than by reference. We can make this significantly lighter on the stack by taking them by reference.
* nca_patch: Make SearchBucketEntry() internally linkedLioncash2020-09-151-40/+43
| | | | | This is only used internally and doesn't depend on any class state, so we can make it fully internal.
* aes_util: Allow SetIV to be non-allocatingLioncash2020-08-031-1/+2
| | | | | | In a few places, the data to be set as the IV is already within an array. We shouldn't require this data to be heap-allocated if it doesn't need to be. This allows certain callers to reduce heap churn.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-17/+17
|
* file_sys/nca_patch: Amend constructor initializer list orderLioncash2018-09-061-2/+2
| | | | | | Orders the elements in the initializer list in the order they're specified in the class. This prevents compiler warnings about initialization order.
* file_sys/nca_patch: Remove unnecessary includesLioncash2018-09-061-0/+4
| | | | | romfs.h doesn't need to be included in the header, the only real dependency here is common's swap.h that needs to be included.
* bktr: Fix bucket overlap errorZach Hilman2018-09-041-2/+2
|
* bktr: Add logging on successful patchZach Hilman2018-09-041-1/+1
|
* bktr: Implement IVFC offset shiftingZach Hilman2018-09-041-1/+1
| | | | Fixes base game read errors
* bktr: Fix missing includes and optimize styleZach Hilman2018-09-041-64/+62
|
* file_sys: Add BKTR patching mechanismZach Hilman2018-09-041-0/+208