mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
DiscIO: Fix CISOFileReader::GetDataSize()
Fixes being unable to run CISO games after the merge of PR 8558.
This commit is contained in:
@ -39,7 +39,7 @@ std::unique_ptr<CISOFileReader> CISOFileReader::Create(File::IOFile file)
|
|||||||
|
|
||||||
u64 CISOFileReader::GetDataSize() const
|
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
|
u64 CISOFileReader::GetRawSize() const
|
||||||
|
Reference in New Issue
Block a user