diff options
| author | JosJuice <josjuice@gmail.com> | 2015-12-19 11:34:01 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2016-01-05 19:11:58 +0100 |
| commit | 81466d7fa3bd3fdbb4f00039342d878c4dc8aad7 (patch) | |
| tree | ca35f489a1aeebb313490cbf0d610ca2430e1268 /Source/Core/DolphinWX/ISOFile.cpp | |
| parent | 460cef492a5b18dae8e9701ecbd324331b2929e3 (diff) | |
DolphinWX: Stop using XPM images
Using the XPM format for images has become a maintenance problem because
people don't know how to create them. This commit removes all XPM images
and all C files that contain PNG images. DolphinWX now uses the PNGs
in the Resources folder instead, just like DolphinQt and DolphinQt2 do.
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; } |
