added banner image showing/saving to filesystemviewer. Cleaned up daco's cache code a bit (only coding style stuff), added default banner image. Commented out progress bar for plugin loading.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1055 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman
2008-11-03 04:17:57 +00:00
parent 22153edc59
commit c9b1cced9c
7 changed files with 370 additions and 72 deletions

View File

@ -27,6 +27,9 @@
#include "BannerLoader.h"
#include "FileSearch.h"
#include "CompressedBlob.h"
#include "../resources/no_banner.cpp"
#include <wx/mstream.h>
#define DVD_BANNER_WIDTH 96
#define DVD_BANNER_HEIGHT 32
@ -82,6 +85,9 @@ GameListItem::GameListItem(const std::string& _rFileName)
else
{
// default banner
wxMemoryInputStream istream(no_banner_png, sizeof no_banner_png);
wxImage iNoBanner(istream, wxBITMAP_TYPE_PNG);
m_Image = iNoBanner;
}