aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/ips_layer.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-10-04 12:23:18 -0400
committerZach Hilman <zachhilman@gmail.com>2018-10-04 12:23:27 -0400
commit794fdbd68016cf53bb6fe93a0b0d0e1b0bc604b4 (patch)
tree4d4d2267784e1e0baa76dfb656b91503118f89b0 /src/core/file_sys/ips_layer.h
parentc60739016dffe911f79ed5914197e50e69c996d8 (diff)
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.
Diffstat (limited to 'src/core/file_sys/ips_layer.h')
-rw-r--r--src/core/file_sys/ips_layer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/file_sys/ips_layer.h b/src/core/file_sys/ips_layer.h
index b07cc56732..57da00da8c 100644
--- a/src/core/file_sys/ips_layer.h
+++ b/src/core/file_sys/ips_layer.h
@@ -22,6 +22,7 @@ public:
VirtualFile Apply(const VirtualFile& in) const;
private:
+ void ParseFlag(const std::string& flag);
void Parse();
bool valid = false;