Browse Source

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.
nce_cpp
Lioncash 7 years ago
parent
commit
d15352b38b
  1. 4
      src/core/file_sys/nca_patch.cpp
  2. 7
      src/core/file_sys/nca_patch.h

4
src/core/file_sys/nca_patch.cpp

@ -2,6 +2,10 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <algorithm>
#include <cstddef>
#include <cstring>
#include "common/assert.h"
#include "core/crypto/aes_util.h"
#include "core/file_sys/nca_patch.h"

7
src/core/file_sys/nca_patch.h

@ -5,10 +5,13 @@
#pragma once
#include <array>
#include <memory>
#include <vector>
#include <common/common_funcs.h>
#include "common/common_funcs.h"
#include "common/common_types.h"
#include "common/swap.h"
#include "core/crypto/key_manager.h"
#include "core/file_sys/romfs.h"
namespace FileSys {

Loading…
Cancel
Save