diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-06-29 16:37:19 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-06-29 16:37:19 -0400 |
| commit | 933358a28c3a96b9b951481cf99a71fd2b68c280 (patch) | |
| tree | c7fe787044eb8c2bc9988885b341ccc182e529a0 /Source/Core/DiscIO/BannerLoaderGC.cpp | |
| parent | 91da03122022e8c91a0328c1716ea8f1f2935074 (diff) | |
| parent | f78b94077e32e045d651d4592217587cca752217 (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.cpp | 10 |
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; |
