mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-08-26 15:35:14 +02:00
Add HTTP log channel, and make ACHIEVEMENTS a proper one.
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
namespace http {
|
||||
|
||||
Request::Request(RequestMethod method, const std::string &url, const std::string &name, bool *cancelled, ProgressBarMode mode) : method_(method), url_(url), name_(name), progress_(cancelled), progressBarMode_(mode) {
|
||||
INFO_LOG(HTTP, "HTTP %s request: %s (%s)", RequestMethodToString(method), url.c_str(), name.c_str());
|
||||
|
||||
progress_.callback = [=](int64_t bytes, int64_t contentLength, bool done) {
|
||||
std::string message;
|
||||
if (!name_.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user