diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2016-01-06 13:37:03 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2016-01-06 13:37:03 -0500 |
| commit | b49683b2e8b85be57221c5643376ef2d7da16bb9 (patch) | |
| tree | fbd6fd7b8b9566ad068ade21522e804892e52d8b /Source/Core/DolphinWX/ISOFile.cpp | |
| parent | adffa5fbeca45aa32c7b60f73517f0aa4e5b7838 (diff) | |
| parent | fd2d50535fad32facc95f2e8a35bb2f10742e83b (diff) | |
Merge pull request #3357 from JosJuice/no-xpm
DolphinWX: Stop using XPM images
Diffstat (limited to 'Source/Core/DolphinWX/ISOFile.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/ISOFile.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/ISOFile.cpp b/Source/Core/DolphinWX/ISOFile.cpp index dc53e55756..3312394dda 100644 --- a/Source/Core/DolphinWX/ISOFile.cpp +++ b/Source/Core/DolphinWX/ISOFile.cpp @@ -261,8 +261,7 @@ bool GameListItem::ReadPNGBanner(const std::string& path) if (!File::Exists(path)) return false; - wxImage image; - image.LoadFile(StrToWxStr(path), wxBITMAP_TYPE_PNG); + wxImage image(StrToWxStr(path), wxBITMAP_TYPE_PNG); m_Bitmap = ScaleBanner(&image); return true; } |
