Merge pull request #8573 from JosJuice/ciso-size

DiscIO: Fix CISOFileReader::GetDataSize()
This commit is contained in:
Pierre Bourdon 2020-01-22 19:20:36 +01:00 committed by GitHub
commit ea9b96370d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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