yuzu-emu
/
yuzu
Archived
1
0
Fork 0

control_metadata: Remove unnecessary reference to base file

This commit is contained in:
Zach Hilman 2018-08-11 22:45:30 -04:00
parent 149bda980a
commit dda8ef11c7
2 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,7 @@ std::string LanguageEntry::GetDeveloperName() const {
return Common::StringFromFixedZeroTerminatedBuffer(developer_name.data(), 0x100);
}
NACP::NACP(VirtualFile file_) : file(std::move(file_)), raw(std::make_unique<RawNACP>()) {
NACP::NACP(VirtualFile file) : raw(std::make_unique<RawNACP>()) {
file->ReadObject(raw.get());
}

View File

@ -81,7 +81,6 @@ public:
std::string GetVersionString() const;
private:
VirtualFile file;
std::unique_ptr<RawNACP> raw;
};