diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2018-05-20 15:39:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-20 15:39:07 +0200 |
| commit | 56e91bfdc178ce575a5f252ca03671a9f68ee6d8 (patch) | |
| tree | 94bd53000fce61c0dd39c7aad891021ca075c864 /Source/Core/DiscIO/WiiSaveBanner.cpp | |
| parent | 86c676ab0483dc53b3b08cb327816388d278a600 (diff) | |
| parent | cc42b4354d38055629ba3eeac92fa57582a26de0 (diff) | |
Merge pull request #6429 from JosJuice/png-banners-uicommon
Reimplement custom PNG banners in game list
Diffstat (limited to 'Source/Core/DiscIO/WiiSaveBanner.cpp')
| -rw-r--r-- | Source/Core/DiscIO/WiiSaveBanner.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/DiscIO/WiiSaveBanner.cpp b/Source/Core/DiscIO/WiiSaveBanner.cpp index 444cb0590d..5bfb87c273 100644 --- a/Source/Core/DiscIO/WiiSaveBanner.cpp +++ b/Source/Core/DiscIO/WiiSaveBanner.cpp @@ -16,13 +16,13 @@ namespace DiscIO { -constexpr unsigned int BANNER_WIDTH = 192; -constexpr unsigned int BANNER_HEIGHT = 64; -constexpr unsigned int BANNER_SIZE = BANNER_WIDTH * BANNER_HEIGHT * 2; +constexpr u32 BANNER_WIDTH = 192; +constexpr u32 BANNER_HEIGHT = 64; +constexpr u32 BANNER_SIZE = BANNER_WIDTH * BANNER_HEIGHT * 2; -constexpr unsigned int ICON_WIDTH = 48; -constexpr unsigned int ICON_HEIGHT = 48; -constexpr unsigned int ICON_SIZE = ICON_WIDTH * ICON_HEIGHT * 2; +constexpr u32 ICON_WIDTH = 48; +constexpr u32 ICON_HEIGHT = 48; +constexpr u32 ICON_SIZE = ICON_WIDTH * ICON_HEIGHT * 2; WiiSaveBanner::WiiSaveBanner(u64 title_id) : WiiSaveBanner(Common::GetTitleDataPath(title_id, Common::FROM_CONFIGURED_ROOT) + @@ -55,7 +55,7 @@ std::string WiiSaveBanner::GetDescription() const return UTF16BEToUTF8(m_header.description, ArraySize(m_header.description)); } -std::vector<u32> WiiSaveBanner::GetBanner(int* width, int* height) const +std::vector<u32> WiiSaveBanner::GetBanner(u32* width, u32* height) const { *width = 0; *height = 0; |
