mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Fix progress computation
This commit is contained in:
@@ -652,7 +652,7 @@ bool GameManager::InstallMemstickZip(struct zip *z, const Path &zipfile, const P
|
||||
if (fwrite(buffer, readSize, 1, outf) != 1)
|
||||
break;
|
||||
bytesCopied += readSize;
|
||||
installProgress_ = (float)allBytes / (float)allBytes;
|
||||
installProgress_ = (float)bytesCopied / (float)allBytes;
|
||||
}
|
||||
|
||||
delete[] buffer;
|
||||
|
||||
Reference in New Issue
Block a user