diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2020-01-22 19:20:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-22 19:20:36 +0100 |
| commit | ea9b96370df89b446ed25fca5452f0eef33682a9 (patch) | |
| tree | e2d0437b7a4f10cfe851c6566fce25b5ced629a5 /Source | |
| parent | f0669f5aa63e543a8b3345ed22397c77ee4f28fd (diff) | |
| parent | 956c63ef9b898e62e0268e934ecfcb45872128a2 (diff) | |
Merge pull request #8573 from JosJuice/ciso-size
DiscIO: Fix CISOFileReader::GetDataSize()
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/DiscIO/CISOBlob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/CISOBlob.cpp b/Source/Core/DiscIO/CISOBlob.cpp index db55946136..7fb5c2f4f6 100644 --- a/Source/Core/DiscIO/CISOBlob.cpp +++ b/Source/Core/DiscIO/CISOBlob.cpp @@ -39,7 +39,7 @@ std::unique_ptr<CISOFileReader> CISOFileReader::Create(File::IOFile file) u64 CISOFileReader::GetDataSize() const { - return CISO_MAP_SIZE * m_block_size; + return static_cast<u64>(CISO_MAP_SIZE) * m_block_size; } u64 CISOFileReader::GetRawSize() const |
