42084 Commits
Author SHA1 Message Date
Henrik Rydgård 6424cfa88d HLE auto log flag: Will let us entirely omit logging code from most syscalls, while still getting good logging.
Unfortunately, we do lose the file/line information if we do this. On
the other hand, in every message like this, the HLE function name will
be there, so maybe not a big deal.
2025-01-29 11:37:22 +01:00
Henrik Rydgård 30237b3be9 Remove CallSyscallWithoutFlags, not a meaningful optimization 2025-01-29 11:37:22 +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
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
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 689492ef80 Merge pull request #19922 from hrydgard/adhoc-logging-fixes
Paper over the problems of the hlecall stack
2025-01-27 14:41:23 +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 4c8c35d4bc Merge pull request #19921 from hrydgard/misc-ui
Windows: Set WINVER properly in CommonWindows.h, switch to new folder selector
2025-01-27 11:55:14 +01:00
Henrik Rydgård d8d992d695 Disable achievements support in VR because the UI doesn't work
Fixes #19521
2025-01-27 11:54:42 +01:00
Henrik Rydgård 04d67c2d7f Merge pull request #19920 from brad0/bsd_elf_aux_info
CMake: Add checks for getauxval and elf_aux_info
2025-01-27 11:42:34 +01:00
Henrik Rydgård 82d3b17bf9 Add support for the modern Windows folder selector (the old one is too fiddly).
This applies to Browse... when selecting a folder on the games tab, and
more.
2025-01-27 11:38:12 +01:00
Henrik Rydgård 0aaacd35c9 Specify that we're compiling for Windows 7 in CommonWindows.h 2025-01-27 11:37:48 +01:00
Brad Smith e1916bf1fe CMake: Add checks for getauxval and elf_aux_info
Add support for CPU feature detection on OpenBSD and FreeBSD riscv64.
2025-01-26 22:44:04 -05:00
Henrik Rydgård b0182ed0e6 Merge pull request #19918 from XJustForYouX/PatchLanguageID
Update Languange ID
2025-01-24 07:32:28 +01:00
XForYouX 838ba8a7ad . 2025-01-24 09:34:43 +07: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 662a889b16 Don't allow fast-forward to resume into run state 2025-01-23 14:36:04 +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 adbd721de0 Merge pull request #19913 from hrydgard/download-infra-json
Keep infra-dns.json updated from metadata.ppsspp.org
2025-01-23 14:19:04 +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