summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeWii.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-11-02 17:05:45 +0100
committerJosJuice <josjuice@gmail.com>2017-11-03 23:00:43 +0100
commit5a6d90900ec2dcf8ebec4182c29019ca5537c89f (patch)
tree8f7c3c349e6a8a54078672186558a2f0a633b1bf /Source/Core/DiscIO/VolumeWii.cpp
parentc8710d0861fb991d860955a221c02507b55cdd2d (diff)
Add WiiSaveBanner class
This class is similar to the BannerLoaderWii class that was removed in ee694e32.
Diffstat (limited to 'Source/Core/DiscIO/VolumeWii.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeWii.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/VolumeWii.cpp b/Source/Core/DiscIO/VolumeWii.cpp
index 0ed2200f14..2158e71f1a 100644
--- a/Source/Core/DiscIO/VolumeWii.cpp
+++ b/Source/Core/DiscIO/VolumeWii.cpp
@@ -29,6 +29,7 @@
#include "DiscIO/FileSystemGCWii.h"
#include "DiscIO/Filesystem.h"
#include "DiscIO/Volume.h"
+#include "DiscIO/WiiSaveBanner.h"
namespace DiscIO
{
@@ -316,7 +317,7 @@ std::vector<u32> VolumeWii::GetBanner(int* width, int* height) const
if (!title_id)
return std::vector<u32>();
- return GetWiiBanner(width, height, *title_id);
+ return WiiSaveBanner(*title_id).GetBanner(width, height);
}
std::string VolumeWii::GetApploaderDate(const Partition& partition) const