diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-09-22 20:35:44 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-09-22 20:35:44 +0000 |
| commit | cca92d4e385b73ae415e2e7b5b956163376349fd (patch) | |
| tree | 14b0d13d25d9d4ae874086e0862c721d91d88435 /Source/Core/DolphinWX/Src/ISOFile.cpp | |
| parent | 38f04809f14a924fb2c5925cd6d4f2ec1859087f (diff) | |
constification, code style, changed vector<FileInfo*> to vector<FileInfo> for less allocs and more speed in debug mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@611 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DolphinWX/Src/ISOFile.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Src/ISOFile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/Src/ISOFile.cpp b/Source/Core/DolphinWX/Src/ISOFile.cpp index 7a7ea851b4..44a6028474 100644 --- a/Source/Core/DolphinWX/Src/ISOFile.cpp +++ b/Source/Core/DolphinWX/Src/ISOFile.cpp @@ -33,7 +33,7 @@ static u32 g_ImageTemp[DVD_BANNER_WIDTH * DVD_BANNER_HEIGHT];
-CISOFile::CISOFile(const std::string& _rFileName)
+GameListItem::GameListItem(const std::string& _rFileName)
: m_FileName(_rFileName),
m_FileSize(0),
m_Valid(false),
@@ -65,7 +65,6 @@ CISOFile::CISOFile(const std::string& _rFileName) pBannerLoader->GetName(m_Name, 0); //m_Country == DiscIO::IVolume::COUNTRY_JAP ? 1 : 0);
pBannerLoader->GetCompany(m_Company);
pBannerLoader->GetDescription(m_Description);
-
if (pBannerLoader->GetBanner(g_ImageTemp))
{
unsigned char* pImage = (unsigned char*)malloc(DVD_BANNER_WIDTH * DVD_BANNER_HEIGHT * 3);
@@ -83,6 +82,7 @@ CISOFile::CISOFile(const std::string& _rFileName) else
{
// default banner
+
}
delete pBannerLoader;
@@ -98,7 +98,7 @@ CISOFile::CISOFile(const std::string& _rFileName) }
-CISOFile::~CISOFile()
+GameListItem::~GameListItem()
{}
|
