Commit Graph

8 Commits (9ff743bc0acb63a176cd7c823aa63f5602c41299)

Author SHA1 Message Date
Lioncash 9ff743bc0a ips_layer: Remove unnecessary explicit std::pair constructor in std::array
Makes the layout of the array consistent, by making all elements match,
instead of special-casing the first one.
7 years ago
Lioncash f7d2889fb4 ips_layer: Add missing includes
Adds missing includes to prevent potential compilation issues in the
future. Also moves the definition of a struct into the cpp file, so that
some includes don't need to be introduced within the header.
7 years ago
Lioncash 93ac8d0fea ips_layer: std::move data within PatchIPS() and Apply()
We don't need to make a copy of the read data, so we can std::move it
into the make_shared call here.
7 years ago
Zach Hilman 110d578470 ips_layer: Fix inaccuracies with comments and flags
Specifically bugs/crashes that arise when putting them in positions that are legal but not typical, such as midline, between patch data, or between patch records.
7 years ago
Zach Hilman 70bd2bb1d3 ips_layer: Deduplicate resource usage 7 years ago
Zach Hilman 9669cdb710 ips_layer: Add support for escape sequences and midline comments
More accurately follows IPSwitch specification.
7 years ago
Zach Hilman 306739c2c4 ips_layer: Add IPSwitchCompiler to process IPSwitch format 7 years ago
Zach Hilman 21b2411c44 file_sys: Implement function to apply IPS patches 7 years ago