diff options
| author | bunnei <bunneidev@gmail.com> | 2018-10-09 16:56:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-09 16:56:32 -0400 |
| commit | 141a0d938660ae8b94ae2a4259db7f4f4d136ca0 (patch) | |
| tree | f82c21fc6999506ec6efe8fd9e47ab1f6b33f2af /src/core/file_sys/ips_layer.h | |
| parent | 6aab309e4198fe6952ca4e10775e579f2a0d9848 (diff) | |
| parent | 465175cdf58fecf9098c702feaf8d000f0952973 (diff) | |
Merge pull request #1462 from lioncash/move
ips_layer: Minor miscellaneous changes
Diffstat (limited to 'src/core/file_sys/ips_layer.h')
| -rw-r--r-- | src/core/file_sys/ips_layer.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/core/file_sys/ips_layer.h b/src/core/file_sys/ips_layer.h index 57da00da8..450b2f71e 100644 --- a/src/core/file_sys/ips_layer.h +++ b/src/core/file_sys/ips_layer.h @@ -4,8 +4,11 @@ #pragma once +#include <array> #include <memory> +#include <vector> +#include "common/common_types.h" #include "core/file_sys/vfs.h" namespace FileSys { @@ -22,17 +25,13 @@ public: VirtualFile Apply(const VirtualFile& in) const; private: + struct IPSwitchPatch; + void ParseFlag(const std::string& flag); void Parse(); bool valid = false; - struct IPSwitchPatch { - std::string name; - bool enabled; - std::map<u32, std::vector<u8>> records; - }; - VirtualFile patch_text; std::vector<IPSwitchPatch> patches; std::array<u8, 0x20> nso_build_id{}; |
