diff --git a/Source/Core/DolphinQt2/Config/InfoWidget.cpp b/Source/Core/DolphinQt2/Config/InfoWidget.cpp index bdf1aa6b89..ffba82cf72 100644 --- a/Source/Core/DolphinQt2/Config/InfoWidget.cpp +++ b/Source/Core/DolphinQt2/Config/InfoWidget.cpp @@ -187,7 +187,7 @@ void InfoWidget::ComputeChecksum() if (progress->wasCanceled()) return; - u64 read_size = std::min(file_data.size(), game_size - read_offset); + u64 read_size = std::min(file_data.size(), game_size - read_offset); file->Read(read_offset, read_size, file_data.data()); hash.addData(reinterpret_cast(file_data.data()), read_size); read_offset += read_size;