summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Src/ISOFile.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2008-09-22 19:48:12 +0000
committerhrydgard <hrydgard@gmail.com>2008-09-22 19:48:12 +0000
commit38f04809f14a924fb2c5925cd6d4f2ec1859087f (patch)
tree49c200eff66320ca7bed8eb3e7be08b6b64bda64 /Source/Core/DolphinWX/Src/ISOFile.cpp
parenta0eb4ad055240825f6d3a3dea54512d351d20049 (diff)
Reduce the use of string objects slightly. Add Delete ISO feature.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@610 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, 3 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Src/ISOFile.cpp b/Source/Core/DolphinWX/Src/ISOFile.cpp
index 8dc7c41d5e..7a7ea851b4 100644
--- a/Source/Core/DolphinWX/Src/ISOFile.cpp
+++ b/Source/Core/DolphinWX/Src/ISOFile.cpp
@@ -19,6 +19,7 @@
#include <vector>
#include "Globals.h"
+#include "FileUtil.h"
#include "ISOFile.h"
#include "VolumeCreator.h"
@@ -44,7 +45,8 @@ CISOFile::CISOFile(const std::string& _rFileName)
{
m_Name = _rFileName;
m_Country = pVolume->GetCountry();
- m_FileSize = pVolume->GetSize();
+ m_FileSize = File::GetSize(_rFileName.c_str());
+ m_VolumeSize = pVolume->GetSize();
m_Name = pVolume->GetName();
m_UniqueID = pVolume->GetUniqueID();
m_BlobCompressed = DiscIO::IsCompressedBlob(_rFileName.c_str());