Store: Show a rough speed indicator.

Some of the homebrew are a bit larger, it's nice to see a speed and not
just the progress bar.
This commit is contained in:
Unknown W. Brackets 2021-05-01 10:40:34 -07:00
parent 3379f33882
commit 2f08fb6583
7 changed files with 39 additions and 7 deletions

View file

@ -91,6 +91,12 @@ bool GameManager::CancelDownload() {
return true;
}
float GameManager::DownloadSpeedKBps() {
if (curDownload_)
return curDownload_->SpeedKBps();
return 0.0f;
}
bool GameManager::Uninstall(std::string name) {
if (name.empty()) {
ERROR_LOG(HLE, "Cannot remove an empty-named game");