Commit graph

13987 commits

Author SHA1 Message Date
Henrik Rydgård
aad3aa02e7 Upgrade the achievement sound volume setting to the new format 2025-02-12 10:23:26 -06:00
Henrik Rydgård
62e01d37a5 Upgrade reverb volume to the new format 2025-02-12 10:09:52 -06:00
Henrik Rydgård
fef4a86225 Upgrade the game volume setting to the new format 2025-02-12 09:49:30 -06:00
Nemoumbra
30bcb43e48 Implemented the libc-like syscalls 2025-02-12 18:36:59 +03:00
Henrik Rydgård
1158ddd012
Merge pull request #19969 from hrydgard/volume-control-cleanup
Volume control UI changes, part 1
2025-02-12 09:01:55 -06:00
Nemoumbra
08a706716e Added some dummy function bodies 2025-02-12 16:49:43 +03:00
Nemoumbra
4e8b1f24d6 Added dummy funcs + registered the module 2025-02-12 16:49:43 +03:00
Nemoumbra
d02a9ee2e5 Added dummy sceNet_lib files 2025-02-12 16:49:43 +03:00
Nemoumbra
1fc49d8011 Added host ptr -> virt ptr converters 2025-02-12 04:13:12 +03:00
Henrik Rydgård
33c4516e72 Implement new volume conversion functions, add test 2025-02-11 18:34:37 -06:00
Nemoumbra
9528d5d8be Added proper const overloads for PSPPointer methods 2025-02-12 03:26:01 +03:00
Henrik Rydgård
27deabaea9 More intuitive volume curve for new-style volume settings 2025-02-11 17:42:09 -06:00
Henrik Rydgård
cf90b24431 Add UI volume setting (affecting navigation sounds and preview audio). Convert alt speed volume into a 100-step percentage. 2025-02-11 17:42:09 -06:00
Henrik Rydgård
a9791699ef Rename "Global volume" to "Game volume" (translations need fixing)
Also makes alt speed volume a percentage of game volume, which makes
more sense.
2025-02-11 17:42:09 -06:00
Henrik Rydgård
9b923b72c1 Refactor audio output, preparing for better volume control 2025-02-11 16:43:29 -06:00
Henrik Rydgård
25bedc44b8 Switch from shift to multiplier for volume in StereoResampler 2025-02-11 15:55:39 -06:00
Henrik Rydgård
fd88f79d07 CrossSIMD: Fix more no-simd fallbacks. The depth rasterizer now works in TEST_FALLBACK mode. 2025-02-10 11:51:22 -06:00
Henrik Rydgård
360c5459b5 Linux: Fix problem with memstick directory creation
CreateDir may not be enough so use CreateFullPath
2025-02-06 11:36:57 -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
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
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