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:
parent
3379f33882
commit
2f08fb6583
7 changed files with 39 additions and 7 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue