diff options
| author | 2018-09-06 13:56:13 -0400 | |
|---|---|---|
| committer | 2018-09-06 13:58:53 -0400 | |
| commit | b155b3ef816f5c317240dea88956bff733bfaef9 (patch) | |
| tree | 89086f527957f00126fd2eacc442018fa366d13e /src/core/file_sys | |
| parent | file_sys/patch_manager: Add missing includes (diff) | |
| download | yuzu-b155b3ef816f5c317240dea88956bff733bfaef9.tar.gz yuzu-b155b3ef816f5c317240dea88956bff733bfaef9.tar.xz yuzu-b155b3ef816f5c317240dea88956bff733bfaef9.zip | |
file_sys/nca_patch: Remove unnecessary includes
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.
Diffstat (limited to 'src/core/file_sys')
| -rw-r--r-- | src/core/file_sys/nca_patch.cpp | 4 | ||||
| -rw-r--r-- | src/core/file_sys/nca_patch.h | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/core/file_sys/nca_patch.cpp b/src/core/file_sys/nca_patch.cpp index e0111bffc..4836706bb 100644 --- a/src/core/file_sys/nca_patch.cpp +++ b/src/core/file_sys/nca_patch.cpp | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <algorithm> | ||
| 6 | #include <cstddef> | ||
| 7 | #include <cstring> | ||
| 8 | |||
| 5 | #include "common/assert.h" | 9 | #include "common/assert.h" |
| 6 | #include "core/crypto/aes_util.h" | 10 | #include "core/crypto/aes_util.h" |
| 7 | #include "core/file_sys/nca_patch.h" | 11 | #include "core/file_sys/nca_patch.h" |
diff --git a/src/core/file_sys/nca_patch.h b/src/core/file_sys/nca_patch.h index 0d9ad95f5..381f3504f 100644 --- a/src/core/file_sys/nca_patch.h +++ b/src/core/file_sys/nca_patch.h | |||
| @@ -5,10 +5,13 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <array> | 7 | #include <array> |
| 8 | #include <memory> | ||
| 8 | #include <vector> | 9 | #include <vector> |
| 9 | #include <common/common_funcs.h> | 10 | |
| 11 | #include "common/common_funcs.h" | ||
| 12 | #include "common/common_types.h" | ||
| 13 | #include "common/swap.h" | ||
| 10 | #include "core/crypto/key_manager.h" | 14 | #include "core/crypto/key_manager.h" |
| 11 | #include "core/file_sys/romfs.h" | ||
| 12 | 15 | ||
| 13 | namespace FileSys { | 16 | namespace FileSys { |
| 14 | 17 | ||