Commit Graph
100 Commits
Author SHA1 Message Date
Henrik Rydgård 5ee3124d17 Tries to fix cross compile on MacOS 2025-04-10 01:32:56 +02:00
Henrik Rydgård 9290e9b551 Merge pull request #20228 from hrydgard/developer-tools-tabs
Developer tools screen: Use tabs
2025-04-09 19:00:12 +02:00
Henrik Rydgård 14b43e1496 Make the development tools screen tabbed 2025-04-09 18:38:38 +02:00
Henrik Rydgård 70303ac212 Start reorganizing the Developer Tools screen code 2025-04-09 18:38:38 +02:00
Henrik Rydgård f857f9bd5e Merge pull request #20227 from hrydgard/even-more-minor-fixes
Fix retroachievements + assorted minor fixes
2025-04-09 18:38:28 +02:00
Henrik Rydgård 09e7e6f335 Less noisy file access logging on Android. 2025-04-09 18:07:57 +02:00
Henrik Rydgård a4e6e84a0a Move achievement handling to EmuScreen and the main thread. Fixes black screen. 2025-04-09 18:07:13 +02:00
Henrik Rydgård 91bf4d5b5c Correct some log categories, add UI category, some warning fixes 2025-04-09 13:45:21 +02:00
Henrik Rydgård e90b91701f Warning fixes 2025-04-09 13:13:13 +02:00
Henrik Rydgård 60a19016ae Split out DeveloperToolsScreen from GameSettingsScreen.cpp 2025-04-09 13:13:08 +02:00
Henrik Rydgård dd7642df19 Android: Reduce logspam 2025-04-09 12:40:10 +02:00
Henrik Rydgård 531842f577 Add font cache stats to "internals" screen 2025-04-09 12:40:10 +02:00
Henrik Rydgård 2ce186481e Merge pull request #20225 from hrydgard/more-minor-fixes
Some minor fixes, ImDebugger features
2025-04-09 12:39:09 +02:00
Henrik Rydgård abff8a078f Work around bad null decoding (overlong) in Jak & Daxter savedata title. 2025-04-09 11:59:17 +02:00
Henrik Rydgård 50410d0de3 Comment on L.A. Rush blending problem 2025-04-09 11:58:31 +02:00
Henrik Rydgård f168aa3aee Some cleanup, make the DevTools LogView work slightly better. Though, it needs more work. 2025-04-09 11:58:31 +02:00
Henrik Rydgård a97ea04827 ImGui: Add "repeatshift" buttons that auto-repeat if you hold shift. 2025-04-09 11:58:31 +02:00
Henrik Rydgård ad17ec5fc8 Minor reorganization in ImDebugger 2025-04-09 11:58:31 +02:00
Henrik Rydgård 3676f4792e GE debugger: Split out the vertices window, show matrices in state window 2025-04-09 11:58:31 +02:00
Henrik Rydgård 77841801b9 Disallow running framedump tests while in-game. 2025-04-09 11:58:31 +02:00
Henrik Rydgård 6de3d47f6e Minor logging fixes 2025-04-09 11:58:31 +02:00
Henrik Rydgård ad237418db Merge pull request #20226 from hrydgard/libretro-fixes
Various libretro fixes.
2025-04-09 11:58:05 +02:00
Henrik Rydgård 879ec7ed06 Various libretro fixes. 2025-04-09 10:32:53 +02:00
Henrik Rydgård 8d555d2820 Update the fixed IPs for MOHH to the current ones, oops. 2025-04-08 10:49:01 +02:00
Henrik Rydgård 7c974e07e6 Merge pull request #20221 from hrydgard/net-fixes-3
More infrastructure networking fixes
2025-04-08 09:12:36 +02:00
Henrik Rydgård 1cef3aaab9 RetroAchievements: Word-wrap the rich presence message on the pause screen 2025-04-08 08:31:13 +02:00
Henrik Rydgård da7c99a585 sceNetInet: Implement per-thread errno. Reduce some log levels 2025-04-08 08:31:09 +02:00
Henrik Rydgård 0450728399 Add a super simple session cache for direct DNS lookups.
Dont even try to download the json if dontdownloadjson is set.
2025-04-08 00:41:08 +02:00
Henrik Rydgård ebcf6be42c When (successfully) using dyn_dns, remove fixed lookups.
Additionally some various cleanup.
2025-04-08 00:32:40 +02:00
Henrik Rydgård 1d97dfe432 Merge pull request #20220 from hrydgard/net-fixes-2
Infrastructure multiplayer fixes
2025-04-07 23:43:36 +02:00
Henrik Rydgård 9738a9511f Build and warning fixes 2025-04-07 23:17:56 +02:00
Henrik Rydgård b34f34ebde Move some more error codes to the big enum 2025-04-07 22:25:36 +02:00
Henrik Rydgård 89c0b5f20b sceNetResolver: Move error codes to enum, modernize logging 2025-04-07 22:16:32 +02:00
Henrik Rydgård 242fd20798 Fix bug preventing the json from being fetched a second time 2025-04-07 22:14:36 +02:00
Henrik Rydgård 279c6fdd3c Don't leave a shared_ptr to the json download sticking around, consume it. 2025-04-07 21:41:41 +02:00
Henrik Rydgård 63d78061bb Avoid creating and throw away a request object when we end up reading from the cache 2025-04-07 21:41:06 +02:00
Henrik Rydgård 5f7b698012 Lots of logging and cleanup. 2025-04-07 21:40:52 +02:00
Henrik Rydgård ec6ea05c9b Merge pull request #20219 from hrydgard/more-minor-fixes
Init/shutdown UPnP with the app, not each game. Also minor fixes and cleanups
2025-04-07 17:36:48 +02:00
Henrik Rydgård 651cefb6fc Remove redundant functions 2025-04-07 16:48:08 +02:00
Henrik Rydgård 370a521381 Move UPnP init/shutdown to app init/shutdown instead of game init/shutdown 2025-04-07 16:46:04 +02:00
Henrik Rydgård 4d215b1f54 Cleaner exit from when stepping through a frame dump 2025-04-07 16:34:17 +02:00
Henrik Rydgård 605daf879b Minor cleanup. Fix file handle leak when opening zip files from the main screen. 2025-04-07 15:42:51 +02:00
Henrik Rydgård 0dec3526a5 Merge pull request #20218 from hrydgard/misc-fixes
Misc fixes and cleanup, use DisableHLE with "sceCcc"
2025-04-07 14:30:58 +02:00
Henrik Rydgård 4df25788fd UI: Fix focus issue, thanks NABN00B.
Fixes #20217
2025-04-07 13:39:47 +02:00
Henrik Rydgård c1ae455ce8 Fix ImDebugger cleanup on exit 2025-04-07 13:03:33 +02:00
Henrik Rydgård 3d8233b7f8 Some sceAudiocodec MP3 work. Not yet working in Beats (trying to DisableHLE of sceMp3). 2025-04-07 10:27:53 +02:00
Henrik Rydgård 0ce3050aa0 Windows: Remove redundant Core_Stop from MainThread_Stop 2025-04-06 23:37:09 +02:00
Henrik Rydgård a870c2155d Always load sceCcc if possible (disable HLE). PRX dumping fix. 2025-04-06 23:34:16 +02:00
Henrik Rydgård b52e7913eb Add disable HLE flag for sceCcc (character conversion library). 2025-04-06 23:34:16 +02:00
Henrik Rydgård 9b0eb592f3 Add warning triangle to "Always on" mode of lens flare occlusion 2025-04-06 23:34:16 +02:00
Henrik Rydgård 616bc35d41 SOCOM Fireteam Bravo 3: Remove obsolete use of compat.ini flag 2025-04-06 23:34:16 +02:00
Henrik Rydgård 031421ba4d Merge pull request #20213 from hrydgard/corestate-cleanup
CoreState code cleanup
2025-04-06 22:27:59 +02:00
Henrik Rydgård 6b37c8895d libretro buildfix 2025-04-05 09:18:56 +02:00
Henrik Rydgård b27a022e7c Remove two states from the CoreState enum. 2025-04-05 09:18:56 +02:00
Henrik Rydgård 24b30cc709 Mostly remove coreState management from System.cpp 2025-04-05 09:18:56 +02:00
Henrik Rydgård 58efe00b74 Remove redundant coreState check in asyncIOManager. 2025-04-05 09:18:56 +02:00
Henrik Rydgård b24ce4bd14 Simplifications 2025-04-05 09:18:56 +02:00
Henrik Rydgård 29ad21effb Part 3: Merge ThreadEventQueue into AsyncIOManager 2025-04-05 09:18:56 +02:00
Henrik Rydgård 3f6e9e861c Remove the templating 2025-04-05 09:18:56 +02:00
Henrik Rydgård 9b1e9da18a Simplify AsyncIO part 1: Remove ThreadEventQueue.h 2025-04-05 09:18:56 +02:00
Henrik Rydgård ebfc467d5d Start removing bad coreState checks 2025-04-05 09:18:56 +02:00
Henrik Rydgård f573b0c72c Merge pull request #20215 from hrydgard/fix-reset-regression
Fix resetting through the keyboard shortcut
2025-04-05 00:55:42 +02:00
Henrik Rydgård 6961a9fc1a Fix resetting through the keyboard shortcut 2025-04-04 23:45:43 +02:00
Henrik Rydgård 0f6886b272 Merge pull request #20212 from NABN00B/bouncing-icon
Fix duplicate bouncing icon color
2025-04-04 17:16:25 +02:00
Henrik Rydgård 8734df7cba Merge pull request #20209 from hrydgard/more-hle-work
More HLE cleanup, fix MP3 in sceAudiocodec
2025-04-04 01:21:56 +02:00
Henrik Rydgård efa022b754 Expose sceMpeg context to a future debugger window. Some general log cleanup. 2025-04-03 22:39:14 +02:00
Henrik Rydgård b5a959c294 Reduce logspam. No need to log in KernelObjectPool::Get, all callers should log on failure themselves. 2025-04-03 22:10:22 +02:00
Henrik Rydgård afddb2c83d DisableHLE settings shouldn't be change-able ingame 2025-04-03 22:09:54 +02:00
Henrik Rydgård 7d92f05688 Fix sceAudiocodec MP3 support, at least as used by Mega Drops 2
See #20160
2025-04-03 21:48:24 +02:00
Henrik Rydgård fff8301798 Merge pull request #20208 from hrydgard/disable-hle-psmf
Disable HLE of scePsmf and scePsmfPlayer
2025-04-03 21:33:42 +02:00
Henrik Rydgård 291e5ef1c6 Move sceMp3 error codes to the big enum 2025-04-03 21:15:09 +02:00
Henrik Rydgård 5b8f3807d1 Add new sceReg log category 2025-04-03 21:15:09 +02:00
Henrik Rydgård 740f885277 Add an escape route from DisableHLE for headless (testing).
May later be turned into developer settings, too.
2025-04-03 21:13:39 +02:00
Henrik Rydgård 96275ec844 Disable HLE of scePsmf and scePsmfPlayer
Testing has shown that this seems to work great and fixes issues. These
two modules are just a parser and a shim over sceMpeg, and we're better
off running the original code, instead of re-implementing it.

sceMpeg still needs accuracy improvements though, and it's built on some
pretty low level components so it will be harder to peel off the next
level of the HLE onion.

Se #20200.
2025-04-03 20:24:03 +02:00
Henrik Rydgård 97e6ef2dd6 Merge pull request #20207 from hrydgard/hle-work
DisableHLE: Add compat flag for sceFont, add ability to make flags permanent
2025-04-03 20:23:22 +02:00
Henrik Rydgård a31d7dc0b3 Add mechanism to "graduate" DisableHLE flags to be permanently on. Will be used soon. 2025-04-03 20:04:42 +02:00
Henrik Rydgård 2307db6df4 Might as well complete the sceReg table. Thanks Nemo for notifying about the root functions 2025-04-03 20:04:42 +02:00
Henrik Rydgård d82978d6e6 A bit of sceAudiocodec cleanup 2025-04-03 20:04:29 +02:00
Henrik Rydgård e961c1ed96 Add support for compat flags that control DisableHLE 2025-04-03 20:04:04 +02:00
Henrik Rydgård 62cd4bbefc Minor cleanups and fixes. sceJpeg will not work without HLE, so removed from disable-list. 2025-04-03 18:16:10 +02:00
Henrik Rydgård 5a6c9051f2 Merge pull request #20205 from hrydgard/implement-scereg
Implement sceReg
2025-04-03 15:49:35 +02:00
Henrik Rydgård 3b86539632 Fixed the dumper, so now it's complete. More games work. 2025-04-03 15:31:30 +02:00
Henrik Rydgård a555fe8924 Partially implement sceReg 2025-04-03 14:13:50 +02:00
Henrik Rydgård 78141d602e GPU assert fix 2025-04-03 13:44:36 +02:00
Henrik Rydgård f98b313234 Logging fix 2025-04-02 18:30:43 +02:00
Henrik Rydgård ac69167dcd Merge pull request #20199 from hrydgard/audiocodec-impl
Partially implement sceAudiocodec
2025-04-02 18:00:28 +02:00
Henrik Rydgård bc3d4fe477 Fix a rare UI race condition (if 'region' changed on a background thread) 2025-04-02 17:27:46 +02:00
Henrik Rydgård 651a972019 More sceAudioCodec implementation work. Atrac3+ partially works now. 2025-04-02 17:26:59 +02:00
Henrik Rydgård 870a76328d ImDebugger: Add function to dump raw at3 frames from the atrac tool. 2025-04-02 13:30:34 +02:00
Henrik Rydgård 77e1c9dd69 Work on audiocodec 2025-04-02 13:30:34 +02:00
Henrik Rydgård cf01e92125 ... 2025-04-02 13:30:34 +02:00
Henrik Rydgård dba18e8710 Merge pull request #20196 from hrydgard/module-cleanup-2
Module loading improvements
2025-04-02 10:55:52 +02:00
Henrik Rydgård 343ca2600a Add a developer setting to disable individual HLE modules, allowing them to be loaded properly.
Some games survive with a loaded sceAtrac, and start talking to
sceAudioCodec instead, the underlying library, though unsuccessfully
since it's not properly implemented yet.
2025-04-02 10:19:24 +02:00
Henrik Rydgård 5e18576f59 Separate imports and exports for listing. 2025-04-02 10:09:19 +02:00
Henrik Rydgård 717ea3ec8e ImDebugger: Show imports/exports in Module window 2025-04-02 10:09:19 +02:00
Henrik Rydgård 2fddf50653 Correct PRX dumping (was using the wrong size) 2025-04-02 10:09:19 +02:00
Henrik Rydgård 8cd28dfd82 Start work on real modules window in the debugger 2025-04-02 10:09:19 +02:00
Henrik Rydgård 4a15ff950c ImDebugger: Add new Modules windows, turn the old Modules window into what will be a symbol browser 2025-04-02 10:09:19 +02:00
Henrik Rydgård db62098ca6 Merge pull request #20197 from hrydgard/upgrade-deps
Upgrade sol2, vulkan headers and gradle, fix plugins, fix a minor build issue
2025-04-02 09:58:05 +02:00
Henrik Rydgård dc77b7d535 Also fix build problem reported by @oltolm, hopefully. 2025-04-02 09:38:51 +02:00