summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/control_metadata.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-12-07 02:25:32 +0100
committerZach Hilman <zachhilman@gmail.com>2018-12-27 06:16:55 +0100
commit5c4259ec1a499528e132b1d41f7559f73bfd1143 (patch)
tree0e91d08e514f4e3919e38e59d88cd61d617e7250 /src/core/file_sys/control_metadata.h
parentvfs: Add reinterpret_casts to WriteArray and Object (diff)
downloadyuzu-5c4259ec1a499528e132b1d41f7559f73bfd1143.tar
yuzu-5c4259ec1a499528e132b1d41f7559f73bfd1143.tar.gz
yuzu-5c4259ec1a499528e132b1d41f7559f73bfd1143.tar.bz2
yuzu-5c4259ec1a499528e132b1d41f7559f73bfd1143.tar.lz
yuzu-5c4259ec1a499528e132b1d41f7559f73bfd1143.tar.xz
yuzu-5c4259ec1a499528e132b1d41f7559f73bfd1143.tar.zst
yuzu-5c4259ec1a499528e132b1d41f7559f73bfd1143.zip
Diffstat (limited to 'src/core/file_sys/control_metadata.h')
-rw-r--r--src/core/file_sys/control_metadata.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/file_sys/control_metadata.h b/src/core/file_sys/control_metadata.h
index bfaad46b4..d5c2ed2b5 100644
--- a/src/core/file_sys/control_metadata.h
+++ b/src/core/file_sys/control_metadata.h
@@ -72,6 +72,7 @@ extern const std::array<const char*, 15> LANGUAGE_NAMES;
// These store application name, dev name, title id, and other miscellaneous data.
class NACP {
public:
+ explicit NACP();
explicit NACP(VirtualFile file);
~NACP();
@@ -84,7 +85,7 @@ public:
std::vector<u8> GetRawBytes() const;
private:
- std::unique_ptr<RawNACP> raw;
+ RawNACP raw;
};
} // namespace FileSys