summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/BannerLoaderGC.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-06-29 16:37:19 -0400
committerLioncash <mathew1800@gmail.com>2014-06-29 16:37:19 -0400
commit933358a28c3a96b9b951481cf99a71fd2b68c280 (patch)
treec7fe787044eb8c2bc9988885b341ccc182e529a0 /Source/Core/DiscIO/BannerLoaderGC.cpp
parent91da03122022e8c91a0328c1716ea8f1f2935074 (diff)
parentf78b94077e32e045d651d4592217587cca752217 (diff)
Merge pull request #540 from lioncash/banner
Centralize some common banner loader class members.
Diffstat (limited to 'Source/Core/DiscIO/BannerLoaderGC.cpp')
-rw-r--r--Source/Core/DiscIO/BannerLoaderGC.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/Core/DiscIO/BannerLoaderGC.cpp b/Source/Core/DiscIO/BannerLoaderGC.cpp
index 5258eb66ab..09c675cb11 100644
--- a/Source/Core/DiscIO/BannerLoaderGC.cpp
+++ b/Source/Core/DiscIO/BannerLoaderGC.cpp
@@ -16,9 +16,7 @@
namespace DiscIO
{
CBannerLoaderGC::CBannerLoaderGC(DiscIO::IFileSystem& _rFileSystem, DiscIO::IVolume* volume)
- : m_pBannerFile(nullptr)
- , m_IsValid(false)
- , m_country(volume->GetCountry())
+ : m_country(volume->GetCountry())
{
// load the opening.bnr
size_t FileSize = (size_t) _rFileSystem.GetFileSize("opening.bnr");
@@ -49,12 +47,6 @@ CBannerLoaderGC::~CBannerLoaderGC()
}
}
-
-bool CBannerLoaderGC::IsValid()
-{
- return m_IsValid;
-}
-
std::vector<u32> CBannerLoaderGC::GetBanner(int* pWidth, int* pHeight)
{
std::vector<u32> Buffer;