Zach Hilman
cc50704b77
fsmitm_romfsbuild: Extract stubs and IPS to romfs_ext dir
8 years ago
Zach Hilman
fc0f2197e8
fsmitm_romfsbuild: Add support for stubbing and IPS patches in LFS
8 years ago
Lioncash
cc482913f4
fsmitm_romfsbuild: std::move std::vector instances in Build()
Avoids making copies of large std::vector instances where it's trivially
avoidable to do so.
8 years ago
Lioncash
8c2a41fa87
fsmitm_romfsbuild: Replace manual value aligning with Common::AlignUp()
Theres no need to do explicit bitwise arithmetic here, when we have a
function that does this with a more descriptive name.
8 years ago
Lioncash
0234afa2ab
fsmitm_romfsbuild: Avoid type truncation warnings
Cast where explicitly necessary and in other cases we can simply modify
the algorithm to accomodate larger data.
8 years ago
Lioncash
87fdd86e0e
fsmitm_romfsbuild: Remove unnecessary constructors and initializers for RomFSBuildFileContext and RomFSBuildDirectoryContext
There's no need to duplicate in-class initializers with a constructor
initializer list. std::strings also initialize to empty by default.
8 years ago
Lioncash
b532635176
fsmitm_romfsbuild: Remove unnecessary loops in Build()
The std::vector instances are already initially allocated with all
entries having these values, there's no need to loop through and fill
them with it again when they aren't modified.
8 years ago
Lioncash
cb483ba942
fsmitm_romfsbuild: Make auto variable into a std::size_t variable within Build()
auto x = 0;
auto-deduces x to be an int. This is undesirable when working with
unsigned values. It also causes sign conversion warnings. Instead, we
can make it a proper unsigned value with the correct width that the
following expressions operate on.
8 years ago
Lioncash
8a132a6dc3
vfs/etc: Append std:: to size_t usages
Given we just recently had a patch backport this from citra, let's try
and keep the convention uniform.
8 years ago
Zach Hilman
0243903c12
fsmitm: Cleanup and modernize fsmitm port
8 years ago
Zach Hilman
38f80a495b
file_sys: Port Atmosphere-NX fs_mitm implementation
8 years ago