mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Lots of logging and cleanup.
This commit is contained in:
1 parent
ec6ea05c9b
commit
5f7b698012
8 files changed
+135
-58
No files matched your search
@@ -59,6 +59,7 @@ int PSPNetconfDialog::Init(u32 paramAddr) {
|
||||
if (ReadStatus() != SCE_UTILITY_STATUS_NONE)
|
||||
return SCE_ERROR_UTILITY_INVALID_STATUS;
|
||||
|
||||
NOTICE_LOG(Log::sceNet, "PSPNetConfDialog Init");
|
||||
// Kick off a request to the infra-dns.json since we'll need it later.
|
||||
StartInfraJsonDownload();
|
||||
|
||||
@@ -114,6 +115,7 @@ int PSPNetconfDialog::Update(int animSpeed) {
|
||||
std::string json;
|
||||
if (!jsonReady_ && PollInfraJsonDownload(&json)) {
|
||||
if (!json.empty()) {
|
||||
INFO_LOG(Log::sceNet, "PollInfraJsonDownload returned a string");
|
||||
if (!LoadAutoDNS(json)) {
|
||||
// If the JSON parse fails, throw away the cache file at least.
|
||||
ERROR_LOG(Log::sceNet, "Failed to parse bad json. Deleting cache file.");
|
||||
|
||||
Reference in new issue
Block a user