summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/ISOFile.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2016-01-06 13:37:03 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2016-01-06 13:37:03 -0500
commitb49683b2e8b85be57221c5643376ef2d7da16bb9 (patch)
treefbd6fd7b8b9566ad068ade21522e804892e52d8b /Source/Core/DolphinWX/ISOFile.cpp
parentadffa5fbeca45aa32c7b60f73517f0aa4e5b7838 (diff)
parentfd2d50535fad32facc95f2e8a35bb2f10742e83b (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.cpp3
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;
}