summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeWii.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-06-17 12:37:30 +0200
committerJosJuice <josjuice@gmail.com>2017-06-28 22:21:23 +0200
commitd06b532150bbf969476f73ea93213c65e203558c (patch)
treecac2ef4c951aca4808052523b448aff7297effe4 /Source/Core/DiscIO/VolumeWii.cpp
parent23bb029250ddd3b71310c83ee977ba41bf75314f (diff)
DiscIO: Move parts of Filesystem to the new file DiscExtractor
Diffstat (limited to 'Source/Core/DiscIO/VolumeWii.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeWii.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/VolumeWii.cpp b/Source/Core/DiscIO/VolumeWii.cpp
index 8ccca04409..0379a0c3cd 100644
--- a/Source/Core/DiscIO/VolumeWii.cpp
+++ b/Source/Core/DiscIO/VolumeWii.cpp
@@ -24,6 +24,7 @@
#include "Common/Swap.h"
#include "DiscIO/Blob.h"
+#include "DiscIO/DiscExtractor.h"
#include "DiscIO/Enums.h"
#include "DiscIO/Filesystem.h"
#include "DiscIO/Volume.h"
@@ -274,8 +275,8 @@ std::map<Language, std::string> VolumeWii::GetLongNames() const
std::vector<u8> opening_bnr(NAMES_TOTAL_BYTES);
std::unique_ptr<FileInfo> file_info = file_system->FindFileInfo("opening.bnr");
- opening_bnr.resize(
- file_system->ReadFile(file_info.get(), opening_bnr.data(), opening_bnr.size(), 0x5C));
+ opening_bnr.resize(ReadFile(*this, GetGamePartition(), file_info.get(), opening_bnr.data(),
+ opening_bnr.size(), 0x5C));
return ReadWiiNames(opening_bnr);
}