Limit time GameInfo file loaders are kept open.

This commit is contained in:
Unknown W. Brackets 2015-06-09 23:16:21 -07:00
parent 90093faffc
commit 2d0bc5eeee
2 changed files with 34 additions and 9 deletions

View file

@ -101,6 +101,9 @@ public:
bool DeleteGame(); // Better be sure what you're doing when calling this.
bool DeleteAllSaveData();
bool LoadFromPath(const std::string &gamePath);
FileLoader *GetFileLoader();
void DisposeFileLoader();
u64 GetGameSizeInBytes();
u64 GetSaveDataSizeInBytes();
@ -157,7 +160,9 @@ public:
u64 saveDataSize;
u64 installDataSize;
protected:
FileLoader *fileLoader;
std::string filePath_;
};
class GameInfoCache {