mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
FileSystem: Fixed SOME memory leaks, cleaned up code and fixed empty entry bug.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@596 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -48,8 +48,7 @@ class CFileSystemGCWii
|
||||
|
||||
private:
|
||||
|
||||
typedef std::vector<SFileInfo>CFileInfoVector;
|
||||
CFileInfoVector m_FileInfoVector;
|
||||
std::vector<SFileInfo *> m_FileInfoVector;
|
||||
|
||||
bool m_Initialized;
|
||||
|
||||
@ -57,7 +56,7 @@ class CFileSystemGCWii
|
||||
|
||||
u32 Read32(u64 _Offset) const;
|
||||
|
||||
virtual size_t GetFileList(std::vector<SFileInfo> *_rFilenames);
|
||||
virtual size_t GetFileList(std::vector<SFileInfo *> &_rFilenames);
|
||||
|
||||
void GetStringFromOffset(u64 _Offset, char* Filename) const;
|
||||
|
||||
|
Reference in New Issue
Block a user