GameListItem: Fix minor naming style violation

This commit is contained in:
JosJuice 2017-06-27 11:28:55 +02:00
parent e73de25a9e
commit 691b676145
2 changed files with 4 additions and 4 deletions

View File

@ -113,12 +113,12 @@ GameListItem::GameListItem(const std::string& filename)
// A bit like the Homebrew Channel icon, except there can be multiple files
// in a folder with their own icons. Useful for those who don't want to have
// a Homebrew Channel-style folder structure.
if (SetWxBannerFromPngFile(path + name + ".png"))
if (SetWxBannerFromPNGFile(path + name + ".png"))
return;
// Homebrew Channel icon. Typical for DOLs and ELFs,
// but can be also used with volumes.
if (SetWxBannerFromPngFile(path + "icon.png"))
if (SetWxBannerFromPNGFile(path + "icon.png"))
return;
}
else
@ -227,7 +227,7 @@ void GameListItem::ReadVolumeBanner(std::vector<u8>* image, const std::vector<u3
}
}
bool GameListItem::SetWxBannerFromPngFile(const std::string& path)
bool GameListItem::SetWxBannerFromPNGFile(const std::string& path)
{
if (!File::Exists(path))
return false;

View File

@ -94,7 +94,7 @@ private:
void ReadVolumeBanner(std::vector<u8>* image, const std::vector<u32>& buffer, int width,
int height);
// Outputs to m_banner_wx
bool SetWxBannerFromPngFile(const std::string& path);
bool SetWxBannerFromPNGFile(const std::string& path);
void SetWxBannerFromRaw(const Banner& banner);
// IMPORTANT: Nearly all data members must be save/restored in DoState.