1
// Copyright 2013 Dolphin Emulator Project
2
// Licensed under GPLv2
3
// Refer to the license.txt file included.
5
#ifndef _BANNER_LOADER_WII_H_
6
#define _BANNER_LOADER_WII_H_
8
#include "BannerLoader.h"
12
class CBannerLoaderWii
13
: public IBannerLoader
17
CBannerLoaderWii(DiscIO::IVolume *pVolume);
19
virtual ~CBannerLoaderWii();
21
virtual bool IsValid();
23
virtual std::vector<u32> GetBanner(int* pWidth, int* pHeight);
25
virtual std::vector<std::string> GetNames();
26
virtual std::string GetCompany();
27
virtual std::vector<std::string> GetDescriptions();
33
TEXTURE_SIZE = 192 * 64 * 2,
34
ICON_SIZE = 48 * 48 * 2,
52
// Not null terminated!
53
u16 m_Comment[2][COMMENT_SIZE];
54
u8 m_BannerTexture[TEXTURE_SIZE];
55
u8 m_IconTexture[8][ICON_SIZE];
62
bool GetStringFromComments(const CommentIndex index, std::string& s);