DiscIO: Fix CISOFileReader::GetDataSize()

Fixes being unable to run CISO games after the merge of PR 8558.
This commit is contained in:
JosJuice 2020-01-22 18:57:50 +01:00
parent 1cc7ef356b
commit 956c63ef9b
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