Commit graph

42256 commits

Author SHA1 Message Date
Henrik Rydgård
caf7b101fc
Merge pull request #19948 from hrydgard/more-error-code-work
Consolidate error codes into the big enum
2025-02-04 13:50:04 -06:00
Henrik Rydgård
d1e5b45b4b Consolidate the last spread-out error codes. 2025-02-04 12:34:49 -06:00
Henrik Rydgård
d2c1c7b54f Consolidate even more error codes 2025-02-04 12:32:11 -06:00
Henrik Rydgård
a18eb97be3 Consolidate more error codes into the big enum 2025-02-04 12:11:22 -06:00
Henrik Rydgård
34169cdb8e More error code consolidation 2025-02-04 11:53:22 -06:00
Henrik Rydgård
b2b0ff1753 Consolidate error codes in ErrorCodes.h 2025-02-04 11:53:00 -06:00
Henrik Rydgård
032b8bfae3
Merge pull request #19947 from hrydgard/code-cleanup
Fixes for minor code issues reported by PVS-Studio
2025-02-04 11:08:09 -06:00
Henrik Rydgård
9ce9e43481 Make some uses of the erase-iter idiom safer and more consistent 2025-02-04 10:31:17 -06:00
Henrik Rydgård
948c38a034 Some more minor fixes 2025-02-04 10:24:55 -06:00
Henrik Rydgård
8f0b64c4eb Minor fix (N1) 2025-02-04 10:19:34 -06:00
Henrik Rydgård
1ca63161b3 More minor fixes 2025-02-04 10:19:34 -06:00
Henrik Rydgård
496f14c4f5 Fix another false-ish positive 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
e80941403a
Merge pull request #19943 from hrydgard/another-log-fix
Second attempt at fixing #19935
2025-02-03 00:03:03 -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
5fa1212699
Merge pull request #19940 from hrydgard/hle-logging-fix
Format string fix in hleDoLogInternal
2025-02-02 12:16:05 -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
d595899677
Merge pull request #19936 from hrydgard/simd-buildfixes
Fix some type mismatches in CrossSIMD.h that not all compilers complain about
2025-02-02 00:39:00 +01:00
Henrik Rydgård
10324db06a Remove launch.json 2025-02-01 10:33:12 -06:00
Henrik Rydgård
07e892e1a2 Fix some type mismatches in CrossSIMD.h that not all compilers complain about.
Fixes #19905
2025-02-01 10:30:02 -06:00
Henrik Rydgård
a174fdb19e
Merge pull request #19934 from Zero1UP/master
Updated infra-dns
2025-01-31 09:43:14 +01:00
Zero1UP
db5111aff8 Updated infra-dns
Fixed domains that were listed incorrectly on some of the games as well as the IPS they should be pointed to. Also updated some of the known_working_ids for the ones we support.
2025-01-30 15:49:54 -07:00
Henrik Rydgård
fd4809490b
Merge pull request #19932 from hrydgard/automatic-error-log
HLE: Automatic error code logging
2025-01-29 11:37:11 +01: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
9ad42bcd99
Merge pull request #19931 from hrydgard/rename-log-functions
Rename and consolidate log functions
2025-01-29 10:36:01 +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
07ed6da1d2
Merge pull request #19926 from hrydgard/ipdetect-fix
getLocalIp: Keep looking if we see 127.0.0.1
2025-01-28 14:13:12 +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
fbb9cc254e
Merge pull request #19925 from hrydgard/cross-simd-no-simd
Add no-SIMD fallback for CrossSIMD
2025-01-28 11:19:14 +01:00
Henrik Rydgård
c78fa60431 Add better way to check if CrossSIMD has been natively implemented 2025-01-28 10:56:52 +01:00
Henrik Rydgård
9caf37d28f Turn off depth raster if SIMD not available 2025-01-28 10:54:43 +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
2aaa1e5379 CrossSIMD: Expand the no-simd path 2025-01-28 10:54:43 +01:00
Henrik Rydgård
32df2f7a03 Remove unused functions 2025-01-28 10:54:43 +01:00
Henrik Rydgård
74501b06b6 CrossSIMD: Add more no-simd fallback types 2025-01-28 10:54:43 +01:00
Henrik Rydgård
9d164b71fb Some new CrossSIMD operations 2025-01-28 10:54:43 +01:00
Henrik Rydgård
d31044103d Add basic vscode .launch file, for easy debugging on mac 2025-01-28 10:54:43 +01:00
Henrik Rydgård
58f6ad3213 Minor cleanup 2025-01-28 09:34:14 +01:00