GameListItem: Fix minor naming style violation
This commit is contained in:
parent
e73de25a9e
commit
691b676145
|
@ -113,12 +113,12 @@ GameListItem::GameListItem(const std::string& filename)
|
||||||
// A bit like the Homebrew Channel icon, except there can be multiple files
|
// 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
|
// in a folder with their own icons. Useful for those who don't want to have
|
||||||
// a Homebrew Channel-style folder structure.
|
// a Homebrew Channel-style folder structure.
|
||||||
if (SetWxBannerFromPngFile(path + name + ".png"))
|
if (SetWxBannerFromPNGFile(path + name + ".png"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Homebrew Channel icon. Typical for DOLs and ELFs,
|
// Homebrew Channel icon. Typical for DOLs and ELFs,
|
||||||
// but can be also used with volumes.
|
// but can be also used with volumes.
|
||||||
if (SetWxBannerFromPngFile(path + "icon.png"))
|
if (SetWxBannerFromPNGFile(path + "icon.png"))
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
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))
|
if (!File::Exists(path))
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -94,7 +94,7 @@ private:
|
||||||
void ReadVolumeBanner(std::vector<u8>* image, const std::vector<u32>& buffer, int width,
|
void ReadVolumeBanner(std::vector<u8>* image, const std::vector<u32>& buffer, int width,
|
||||||
int height);
|
int height);
|
||||||
// Outputs to m_banner_wx
|
// Outputs to m_banner_wx
|
||||||
bool SetWxBannerFromPngFile(const std::string& path);
|
bool SetWxBannerFromPNGFile(const std::string& path);
|
||||||
void SetWxBannerFromRaw(const Banner& banner);
|
void SetWxBannerFromRaw(const Banner& banner);
|
||||||
|
|
||||||
// IMPORTANT: Nearly all data members must be save/restored in DoState.
|
// IMPORTANT: Nearly all data members must be save/restored in DoState.
|
||||||
|
|
Loading…
Reference in New Issue