mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 11:45:18 +02:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user