diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-09-28 16:49:58 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-09-28 16:49:58 +0000 |
| commit | b2c619da61610bdcf3e6176d675d67814965f78a (patch) | |
| tree | fc938c8edb1dfa845f49a80db9bc944d031729e8 /Source/Core/DiscIO/Src/FileSystemGCWii.cpp | |
| parent | 60c65b53a579b3699d62aa783a06070bb961f98c (diff) | |
Submit all kind of misc little changes and cleanup so I get a clean slate. There should be nothing in here that really changes anything important, except fixing some types in the filesystemgc stuff.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@717 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/FileSystemGCWii.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Src/FileSystemGCWii.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DiscIO/Src/FileSystemGCWii.cpp b/Source/Core/DiscIO/Src/FileSystemGCWii.cpp index c728767fd5..bd9eb34dd3 100644 --- a/Source/Core/DiscIO/Src/FileSystemGCWii.cpp +++ b/Source/Core/DiscIO/Src/FileSystemGCWii.cpp @@ -43,7 +43,7 @@ bool CFileSystemGCWii::IsInitialized() const return m_Initialized;
}
-size_t CFileSystemGCWii::GetFileSize(const char* _rFullPath) const
+u64 CFileSystemGCWii::GetFileSize(const char* _rFullPath) const
{
if (!m_Initialized)
return 0;
@@ -70,7 +70,7 @@ const char* CFileSystemGCWii::GetFileName(u64 _Address) const return NULL;
}
-size_t CFileSystemGCWii::ReadFile(const char* _rFullPath, u8* _pBuffer, size_t _MaxBufferSize) const
+u64 CFileSystemGCWii::ReadFile(const char* _rFullPath, u8* _pBuffer, size_t _MaxBufferSize) const
{
if (!m_Initialized)
return 0;
@@ -170,7 +170,7 @@ bool CFileSystemGCWii::InitFileSystem() }
// read the whole FST
- u32 FSTOffset = Read32(0x424) << m_OffsetShift;
+ u64 FSTOffset = (u64)Read32(0x424) << m_OffsetShift;
// u32 FSTSize = Read32(0x428);
// u32 FSTMaxSize = Read32(0x42C);
|
