mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 21:16:24 +02:00
Improved progress bar popups for downloads
Now shows the filename, and also there's a delay mode where they'll only be visible if the download takes more than a second, plus they can be named.
This commit is contained in:
1 parent
04932d98a7
commit
ecea3844b0
18 files changed
+167
-157
No files matched your search
@@ -139,7 +139,7 @@ bool RemoteISOConnectScreen::FindServer(std::string &resultHost, int &resultPort
|
||||
}
|
||||
|
||||
SetStatus("Loading game list from [URL]...", host, port);
|
||||
http::RequestProgress progress(&scanCancelled);
|
||||
net::RequestProgress progress(&scanCancelled);
|
||||
code = http.GET(http::RequestParams(subdir.c_str()), &result, &progress);
|
||||
http.Disconnect();
|
||||
|
||||
@@ -193,7 +193,7 @@ bool RemoteISOConnectScreen::FindServer(std::string &resultHost, int &resultPort
|
||||
SetStatus("Looking for peers...", "", 0);
|
||||
if (http.Resolve(REPORT_HOSTNAME, REPORT_PORT)) {
|
||||
if (http.Connect(2, 20.0, &scanCancelled)) {
|
||||
http::RequestProgress progress(&scanCancelled);
|
||||
net::RequestProgress progress(&scanCancelled);
|
||||
code = http.GET(http::RequestParams("/match/list"), &result, &progress);
|
||||
http.Disconnect();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user