Commit graph

13762 commits

Author SHA1 Message Date
Henrik Rydgård
1ca63161b3 More minor fixes 2025-02-04 10:19:34 -06:00
Henrik Rydgård
dd4c8617e2 Eliminate a PVS-studio false positive warning 2025-02-04 10:19:34 -06:00
Henrik Rydgård
350882d592 Fix misuse of erase-iter idiom in __MicBlockingResume (N5) 2025-02-04 10:19:29 -06:00
Henrik Rydgård
d39655ff17 Second attempt at fixing #19935
Fixes #19935. Forgot to update the formatting for the reporting case.

I'll clean this up in a more general way later, I don't like how this code currently looks.
2025-02-02 20:21:17 -06:00
Henrik Rydgård
e53fd10edd Format string fix in hleDoLogInternal
Hopefully fixes #19935, but can't confirm myself right now.
2025-02-02 11:46:08 -06:00
Henrik Rydgård
8a58f50caf Fix some compiler warnings 2025-01-29 11:13:48 +01:00
Henrik Rydgård
b763cb3f03 Make the auto error logging 32-bit compatible, oops. 2025-01-29 11:08:55 +01:00
Henrik Rydgård
cdad46e18c Change some sceDisplay functions to use more appropriate return types 2025-01-29 10:48:00 +01:00
Henrik Rydgård
b4f0e3dd5c HLE logging: Automatically log SCE_KERNEL_ERRORs as strings for functions returning 'i' and 'x' types. 2025-01-29 10:47:18 +01:00
Henrik Rydgård
2af7a047d2 HLE logging; Use function metadata to decide the type for logging the return type. 2025-01-29 10:14:54 +01: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
b9decb20a5
Merge pull request #19929 from hrydgard/log-optimize
Improve code generation for HLE debug logging
2025-01-28 23:48:34 +01:00
Henrik Rydgård
77e75ad104 Add a function converting syscall error codes to strings. 2025-01-28 17:09:52 +01:00
Henrik Rydgård
e8be4bbaae Improve code generation for HLE debug logging
Should shrink code size a bit, not expecting much performance change.

This avoids emitting a DoLog call when MAX_LOGLEVEL excludes the log statement,
just like for regular logs.
2025-01-28 17:04:20 +01:00
Henrik Rydgård
698a98c9bb
Merge pull request #19927 from hrydgard/more-network-work
Add a hidden option to not download infra-dns.json, instead use the file from assets
2025-01-28 14:13:22 +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
ccf814bcd0 Some shutdown logging improvements 2025-01-28 13:32:31 +01:00
Henrik Rydgård
ae2d5c1b41 getLocalIp: Have the fallback path keep looking if the IP found is 127.0.0.1
Fixes #19919
2025-01-28 13:32:31 +01:00
Henrik Rydgård
41b93c895c
Merge pull request #19924 from hrydgard/more-log-cleanup
More log cleanup
2025-01-28 12:10:46 +01:00
Henrik Rydgård
acd5b24924 Complete CrossSIMD non-simd fallback (although buggy, it seems). Minor ARM64 opt. 2025-01-28 10:54:43 +01:00
Henrik Rydgård
58f6ad3213 Minor cleanup 2025-01-28 09:34:14 +01:00
Henrik Rydgård
3ce72f87d3 Another batch of log cleanup 2025-01-28 09:31:38 +01:00
Henrik Rydgård
7db68d50bb More hleLog* 2025-01-28 09:31:38 +01:00
Henrik Rydgård
eb0102d781 Use more hleLog* functionality to simplify code. 2025-01-28 09:31:34 +01:00
Henrik Rydgård
ba6a9119fc Minor logging fixes 2025-01-28 09:29:01 +01:00
Henrik Rydgård
0f5d9fe753 Paper over the problems of the hlecall stack 2025-01-27 14:13:31 +01:00
Henrik Rydgård
d6b15c7b62
Merge pull request #19914 from hrydgard/misc-fixes
Fix a logging problem reported by Nemo, and a pause bug reported by IRVN
2025-01-23 15:31:54 +01:00
Henrik Rydgård
63a41e7635 Windows: Fix mis-interaction between no-menu pause and pause on window lost focus, reported by IRVN 2025-01-23 14:32:38 +01:00
Henrik Rydgård
3dc46666ff Fix logging problem in npdrm functions 2025-01-23 14:25:05 +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
eb719c43e8 HTTP: Replace ProgressBarMode with a new RequestFlags enum 2025-01-23 12:09:56 +01:00
Henrik Rydgård
12adad0494 HTTP request classes code cleanup - move common things up to the base class 2025-01-23 10:16:51 +01:00
Henrik Rydgård
57b6850ea0 Pause screen improvements 2025-01-22 11:50:01 +01:00
Henrik Rydgård
2d0c9986ce Native-OSK: Remove prefilled string "VALUE" 2025-01-22 10:15:49 +01:00
Henrik Rydgård
e4de9dbfb5 Add some socket data in the debugger 2025-01-22 10:12:56 +01:00
Henrik Rydgård
748c4e4a49 sceutility: Warn if netparams are accessed *before* apctl is inited. 2025-01-22 09:53:00 +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
5ffd9a2d72 Reset Np state on init, this was missing. 2025-01-21 17:41:53 +01:00
Henrik Rydgård
5abb1be440 Some more logging cleanup 2025-01-21 17:33:59 +01:00
Henrik Rydgård
2a924ff4df Logging fixes, buildfix on some systems 2025-01-21 12:55:32 +01:00
Henrik Rydgård
1aef267acc Add more information to ImDebugger (ApCtl) 2025-01-21 12:22:32 +01:00
Henrik Rydgård
9f8d21e7b8 Add some more debugger windows and info for networking stuff 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
f69f94284f Move the hardcoded domains from sceNetResolver.cpp to the json. 2025-01-20 20:58:22 +01:00
Henrik Rydgård
c7078f31fd Rename "networkInited" to g_adhocServerConnected, which is what it is 2025-01-20 20:58:22 +01:00