Commit Graph
229 Commits
Author SHA1 Message Date
Henrik Rydgård dbe6ec80a0 Fix some bad "for (auto x : y)" usage 2025-04-29 16:46:14 +02:00
Henrik Rydgård da7c99a585 sceNetInet: Implement per-thread errno. Reduce some log levels 2025-04-08 08:31:09 +02:00
Henrik Rydgård 0450728399 Add a super simple session cache for direct DNS lookups.
Dont even try to download the json if dontdownloadjson is set.
2025-04-08 00:41:08 +02:00
Henrik Rydgård ebcf6be42c When (successfully) using dyn_dns, remove fixed lookups.
Additionally some various cleanup.
2025-04-08 00:32:40 +02:00
Henrik Rydgård 9738a9511f Build and warning fixes 2025-04-07 23:17:56 +02:00
Henrik Rydgård b34f34ebde Move some more error codes to the big enum 2025-04-07 22:25:36 +02:00
Henrik Rydgård 89c0b5f20b sceNetResolver: Move error codes to enum, modernize logging 2025-04-07 22:16:32 +02:00
Henrik Rydgård 279c6fdd3c Don't leave a shared_ptr to the json download sticking around, consume it. 2025-04-07 21:41:41 +02:00
Henrik Rydgård 5f7b698012 Lots of logging and cleanup. 2025-04-07 21:40:52 +02:00
Henrik Rydgård 651cefb6fc Remove redundant functions 2025-04-07 16:48:08 +02:00
Henrik Rydgård 370a521381 Move UPnP init/shutdown to app init/shutdown instead of game init/shutdown 2025-04-07 16:46:04 +02:00
Henrik Rydgård 4e25f44eef Rename some module-related functions to include HLE where appropriate 2025-03-31 11:17:50 +02:00
Henrik Rydgård 0f840e6240 Move JPEG error codes to the big enum, some include cleanup 2025-03-21 20:44:46 +01:00
Henrik Rydgård 5aa73ecb17 Fix backwards check for DontDownloadInfraJson 2025-02-17 16:20:42 -06:00
Henrik Rydgård d7ebed2d66 AutoDNS load fix in some situations 2025-02-17 16:20:41 -06:00
Henrik Rydgård 28b2c7f540 HLE log rename part 1: Remove duplicate log functions. Return type should be determined by metadata. 2025-01-29 09:45:39 +01:00
Henrik Rydgård 8818e440ad Add a hidden option to not download infra-dns.json, instead use the file from assets 2025-01-28 13:45:28 +01:00
Henrik Rydgård 7fa3b48650 Add extra safeguards, fall back to cached file if download fails. 2025-01-23 13:58:59 +01:00
Henrik Rydgård 7f877bb16b Implement simple file caching. 2025-01-23 13:28:51 +01:00
Henrik Rydgård e4d08407ab Add fake request class for cached responses. 2025-01-23 13:02:06 +01:00
Henrik Rydgård c3cc3da8fe Download infra-dns.json from metadata.ppsspp.org 2025-01-23 12:54:22 +01:00
Henrik Rydgård 57b6850ea0 Pause screen improvements 2025-01-22 11:50:01 +01:00
Henrik Rydgård a710faf27b Remove the Network Connected/Shutdown popups. Replace with more info on pause screen 2025-01-21 18:07:52 +01:00
Henrik Rydgård 1aef267acc Add more information to ImDebugger (ApCtl) 2025-01-21 12:22:32 +01:00
Henrik Rydgård 5d124d93f8 Make network connection detection (for pause screen purposes) a bit more strict. 2025-01-21 12:22:29 +01:00
Henrik Rydgård 6f0d28e083 Buildfix 2025-01-20 20:58:22 +01:00
Henrik Rydgård 58f336f64d Infrastructure: Only connect to adhoc server if connect_adhoc_for_grouping is set in the json 2025-01-20 20:58:22 +01:00
Henrik Rydgård eb10247d77 Skip showing regular notifications that don't have messages 2025-01-20 17:48:16 +01:00
Henrik Rydgård e24317b20b A lot more logging fixes 2025-01-20 12:20:21 +01:00
Henrik Rydgård 7d2ad6980e Another batch of changes 2025-01-20 12:20:21 +01:00
Henrik Rydgård 2523690584 Flip around so sceDelayResult is always outermost. Start using HLECall. 2025-01-20 12:20:18 +01:00
Henrik Rydgård 42a2dfbbc1 Convert more code 2025-01-19 17:34:29 +01:00
Henrik Rydgård 9165711cef Convert more HLE logging to the hleLog system 2025-01-19 15:53:20 +01:00
Henrik Rydgård 2e68d4f638 Clean up a lot of logging in psmf, audio, more 2025-01-19 13:56:51 +01:00
Henrik Rydgård 4757f8c872 Replace the NetResolver class with a simple struct 2025-01-17 09:44:13 +01:00
Henrik Rydgård b94b9b077d Refactor away the unnecessary wrapper from sceNetResolver 2025-01-17 09:38:20 +01:00
Henrik Rydgård 298a18e1e2 Parsing fix for infra-dns.json, minor logging improvement 2025-01-17 09:23:21 +01:00
Henrik Rydgård 9d691d9866 Show revival team credits on the pause screen 2025-01-15 09:17:15 +01:00
Henrik Rydgård f66ea2f63e Add a bunch of restrictions when online (no savestate, no speed control) 2025-01-13 19:33:48 +01:00
Henrik Rydgård 9bdbbba1d4 Typo :) 2025-01-13 12:47:28 +01:00
Henrik Rydgård 28d8faef3a Integrate the sceUtility DNS query with the auto conf system, minor cleanups 2025-01-13 12:31:02 +01:00
Henrik Rydgård c22c4b7bab Move the Network Initialized message, add Network Shutdown message 2025-01-12 22:22:03 +01:00
Henrik Rydgård 0349f91a9e Add "dyndns" or DNS server lookup by domain name as requested by ablondel.
JSON updated.
2025-01-12 17:55:42 +01:00
Henrik Rydgård ae15cba56c Move the logic for loading the json file to the function. Minor cleanup. 2025-01-12 17:25:59 +01:00
Henrik Rydgård 05906bc8f3 Finish the format, actually use the things from it 2025-01-12 17:25:59 +01:00
Henrik Rydgård 608ff2ff39 Initial custom DNS config json parsing 2025-01-12 17:25:59 +01:00
Henrik Rydgård c5cde0f218 Remove "Secondary DNS" as a setting. 2025-01-12 17:25:57 +01:00
Henrik Rydgård 1013be090c sceNetInet: Refactor errno handling and logging, so we always see how it changes 2025-01-12 14:57:51 +01:00
Henrik Rydgård 3e8b1564e2 Remove more UNTESTED tags in sceNetApctl 2025-01-11 10:22:23 +01:00
Henrik Rydgård 54581441ea Start cleaning up logging in sceNetInet 2025-01-11 10:22:21 +01:00