GameList: Add "File Size" field

This commit is contained in:
Stenzek
2023-12-20 23:40:24 +10:00
parent fd341f6a9d
commit 36643fe78b
15 changed files with 128 additions and 26 deletions

View File

@ -328,6 +328,10 @@ public:
virtual PrecacheResult Precache(ProgressCallback* progress = ProgressCallback::NullProgressCallback);
virtual bool IsPrecached() const;
// Returns the size on disk of the image. This could be multiple files.
// If this function returns -1, it means the size could not be computed.
virtual s64 GetSizeOnDisk() const;
protected:
void ClearTOC();
void CopyTOC(const CDImage* image);