Commit Graph
100 Commits
Author SHA1 Message Date
Henrik Rydgård 4f2ceca071 Merge pull request #19982 from hrydgard/assorted-cleanups
Remove unused float16 type, split out sceAac from sceMp4
2025-02-14 10:49:38 -06:00
Henrik Rydgård 09eaf084d0 Remove unused float16 type 2025-02-14 09:50:55 -06:00
Henrik Rydgård dc775ad9e8 Clean up the AAC code in the same way 2025-02-14 09:50:55 -06:00
Henrik Rydgård c3708f741b Convert sceMp4 to new style hle logging 2025-02-14 09:50:55 -06:00
Henrik Rydgård fdb606c8cb Break out sceAac from sceMp4.cpp/h 2025-02-14 09:50:55 -06:00
Henrik Rydgård cbd95a125d Merge pull request #19980 from hrydgard/ge-debugger-work
ImDebugger: Add zoom functionality, file export
2025-02-14 09:48:52 -06:00
Henrik Rydgård 2c11da1354 ImDebugger file browser: Add (slightly clunky) UI to extract individual files. 2025-02-13 17:11:11 -06:00
Henrik Rydgård d89eba1fca Add simple zoom functionality to ImDebugger ge preview 2025-02-13 15:26:53 -06:00
Henrik Rydgård 85c015efb8 Remove redundant shutdown callback 2025-02-13 15:13:25 -06:00
Henrik Rydgård 87cf0be961 Merge pull request #19979 from hrydgard/depth-adjustment
Ge: Apply slight adjustment to cull range, see issue #17061
2025-02-13 14:58:37 -06:00
Henrik Rydgård 630824a7a3 Ge: Apply slight adjustment to cull range, see issue #17061 2025-02-13 14:57:42 -06:00
Henrik Rydgård 41e07cd2a6 Merge pull request #19978 from hrydgard/zip-perf-opt
ZipFileReader: Small performance optimization when reading by filename
2025-02-13 14:51:52 -06:00
Henrik Rydgård b7cec64fb2 ZipFileReader: Small performance optimization when reading by filename 2025-02-13 11:42:46 -06:00
Henrik Rydgård 0b5bcef6e2 Merge pull request #19976 from lvonasek/hotfix-openxr-timing
OpenXR - Remove frame limitation
2025-02-13 11:31:56 -06:00
Henrik Rydgård aa384b36c6 Merge pull request #19975 from hrydgard/custom_icon
Allow custom game icons if texture replacement is enabled
2025-02-13 11:22:56 -06:00
Henrik Rydgård 8b340aa4ed Refactor out the replacement icon loading, use for EBOOTs too. 2025-02-13 11:00:07 -06:00
Henrik Rydgård f47cccc2b2 Show the texture replacement checkbox on the main graphics settings tab 2025-02-13 10:50:18 -06:00
Henrik Rydgård b484d4b1bf Merge pull request #19974 from hrydgard/d3d11flipmodel
Nukem9's D3D11 flipmodel, rebased
2025-02-13 09:52:44 -06:00
Henrik Rydgård 102b515f7c Merge pull request #19973 from hrydgard/windows-battery-percentage
Add support for displaying the battery percentage on Windows.
2025-02-12 11:54:12 -06:00
Henrik Rydgård dc3e929348 Merge pull request #19972 from Nemoumbra/scenet_lib
Adding sceNet_lib
2025-02-12 11:19:51 -06:00
Henrik Rydgård e98d481a63 Add support for displaying the battery percentage on Windows. 2025-02-12 11:07:24 -06:00
Henrik Rydgård 29a0835c6d Merge pull request #19971 from hrydgard/volume-control-convert-settings
Volume control UI changes, part 2
2025-02-12 10:48:17 -06:00
Henrik Rydgård fcaf3daea9 Minor fixes, make the achievement volume independent again 2025-02-12 10:28:35 -06:00
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
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
Henrik Rydgård d58d193138 Merge pull request #19970 from Nemoumbra/memmap-cleanup
Memmap additions and cleanup
2025-02-11 22:06:41 -06:00
Henrik Rydgård 33c4516e72 Implement new volume conversion functions, add test 2025-02-11 18:34:37 -06:00
Henrik Rydgård d200d80633 Allow preview of UI sound volume while changing the slider. 2025-02-11 18:03:42 -06:00
Henrik Rydgård 25817c3bdb Remove an unnecessary wrapper function (just rename __AudioMix to NativeMix) 2025-02-11 18:02:45 -06: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 1907fc7a30 Merge pull request #19968 from hrydgard/audio-out-refactor
Audio out code cleanup
2025-02-11 17:01: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 1a41a36093 Merge pull request #19967 from hrydgard/battery-percentage
Support battery percentage display on SDL
2025-02-11 11:11:21 -06:00
Henrik Rydgård 1ea14efcf9 SDL: Use SDL_GetPowerInfo 2025-02-11 10:46:28 -06:00
Henrik Rydgård 61aa231fe2 Buildfix attempt 2025-02-11 10:43:39 -06:00
Henrik Rydgård ee772bb1e2 Refactor querying the battery percentage into a regular sysprop 2025-02-11 10:31:18 -06:00
Henrik Rydgård 57a91e1f74 Merge pull request #19965 from hrydgard/android-icon-aspect
Android shortcut icons: Pad icon images to fix the aspect ratio
2025-02-10 15:59:00 -06:00
Henrik Rydgård cb648509ef Android shortcut icons: Pad icon images to fix the aspect ratio
Fixes #19330. You'll have to recreate your icons though.
2025-02-10 15:28:45 -06:00
Henrik Rydgård c0a4917487 Merge pull request #19963 from hrydgard/crosssimd-fallback-fix
CrossSIMD: Fix more no-simd fallbacks. The depth rasterizer now works in TEST_FALLBACK mode.
2025-02-10 12:29:13 -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 2e5f901574 Merge pull request #19962 from lvonasek/hotfix-openxr-nonvr
OpenXR - NonVR option fixed
2025-02-10 11:20:08 -06:00
Henrik Rydgård 6ec74f58c2 Merge pull request #19959 from KatyushaScarlet/dev-loongarch64
Add a fast_matrix_mul_4x4 function with SIMD optimization for the LoongArch64.
2025-02-10 11:15:38 -06:00
Henrik Rydgård d5bd7d24aa Merge pull request #19955 from hrydgard/crosssimd-test
CrossSIMD: Add a simple unit test, fix a couple of operations in the no-simd path
2025-02-06 11:37:59 -06:00
Henrik Rydgård 274e1fddf2 Merge pull request #19956 from hrydgard/linux-dir-fix
Linux: Fix problem with memstick directory creation
2025-02-06 11:37:47 -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 b24516544f Merge pull request #19954 from KatyushaScarlet/dev-loongarch64
Fix compilation errors on LoongArch.
2025-02-06 10:45:24 -06:00
Henrik Rydgård 8907a4c001 More fixes, improve unit test 2025-02-06 10:26:46 -06:00
Henrik Rydgård fc0b1eef4c Fix 4x4 2025-02-06 10:26:46 -06:00
Henrik Rydgård e3f29cccd4 Add more tests 2025-02-06 10:26:46 -06:00
Henrik Rydgård 02b2a33980 Add test for mat*vec too. 2025-02-06 10:26:46 -06:00
Henrik Rydgård 46a472181b CrossSIMD unit test: Add sanity checks for the matrix multiplications 2025-02-06 10:26:46 -06:00
Henrik Rydgård 7006f01dc5 Merge pull request #19480 from oltolm/comptr_misc
use ComPtr for misc. things
2025-02-06 09:31:41 -06:00
Henrik Rydgård b73536f820 Merge pull request #19953 from kotcrab/struct-viewer-improvements
Struct viewer - Add watch edit and show in window menu
2025-02-06 09:28:50 -06:00
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
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