mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
http: Add progress to missing request.
Oops, I guess I had things still cached.
This commit is contained in:
parent
630f071d53
commit
4462b0c612
@ -196,7 +196,7 @@ size_t HTTPFileLoader::ReadAt(s64 absolutePos, size_t bytes, void *data, Flags f
|
||||
snprintf(requestHeaders, sizeof(requestHeaders),
|
||||
"Range: bytes=%lld-%lld\r\n", absolutePos, absoluteEnd - 1);
|
||||
|
||||
int err = client_.SendRequest("GET", url_.Resource().c_str(), requestHeaders, nullptr);
|
||||
int err = client_.SendRequest("GET", url_.Resource().c_str(), requestHeaders, &progress_);
|
||||
if (err < 0) {
|
||||
latestError_ = "Invalid response reading data";
|
||||
Disconnect();
|
||||
|
Loading…
Reference in New Issue
Block a user