summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Src/ISOFile.cpp
diff options
context:
space:
mode:
authordeath2droid <death2droid@gmail.com>2009-05-27 06:41:01 +0000
committerdeath2droid <death2droid@gmail.com>2009-05-27 06:41:01 +0000
commitf7528530094be0eb3ea3ce40d810b0a57777cb2b (patch)
tree1235b84428de22aba7e1c3194e9fa30e807b9f4d /Source/Core/DolphinWX/Src/ISOFile.cpp
parentd195dbbe8d8b4f45e598d6ec4bae3129f4eb4c90 (diff)
Adds a new column to the game control list that shows what platform the game is.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3288 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DolphinWX/Src/ISOFile.cpp')
-rw-r--r--Source/Core/DolphinWX/Src/ISOFile.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Src/ISOFile.cpp b/Source/Core/DolphinWX/Src/ISOFile.cpp
index 773b323a26..ca66f2fc6a 100644
--- a/Source/Core/DolphinWX/Src/ISOFile.cpp
+++ b/Source/Core/DolphinWX/Src/ISOFile.cpp
@@ -47,6 +47,7 @@ GameListItem::GameListItem(const std::string& _rFileName)
, m_pImage(NULL)
, m_ImageSize(0)
, m_IsWii(false)
+ , m_Platform(false)
{
if (LoadFromCache())
@@ -60,6 +61,8 @@ GameListItem::GameListItem(const std::string& _rFileName)
if (pVolume != NULL)
{
m_IsWii = DiscIO::IsVolumeWiiDisc(pVolume);
+ m_Platform = DiscIO::IsVolumeWiiDisc(pVolume);
+
m_Company = "N/A";
for (int i = 0; i < 6; i++)
{
@@ -169,6 +172,7 @@ void GameListItem::DoState(PointerWrap &p)
p.Do(m_BlobCompressed);
p.DoBuffer(&m_pImage, m_ImageSize);
p.Do(m_IsWii);
+ p.Do(m_Platform);
}
std::string GameListItem::CreateCacheFilename()