diff options
Diffstat (limited to 'Source/Core/DiscIO/NANDContentLoader.cpp')
| -rw-r--r-- | Source/Core/DiscIO/NANDContentLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/NANDContentLoader.cpp b/Source/Core/DiscIO/NANDContentLoader.cpp index 0178c3c14e..47ea26c81a 100644 --- a/Source/Core/DiscIO/NANDContentLoader.cpp +++ b/Source/Core/DiscIO/NANDContentLoader.cpp @@ -163,7 +163,7 @@ bool NANDContentLoader::Initialize(const std::string& name) return false; } - std::vector<u8> bytes(File::GetSize(tmd_filename)); + std::vector<u8> bytes(tmd_file.GetSize()); tmd_file.ReadBytes(bytes.data(), bytes.size()); m_tmd.SetBytes(std::move(bytes)); |
