Commit Graph

14759 Commits

Author SHA1 Message Date
Henrik Rydgård 5f7b698012 Lots of logging and cleanup. 2025-04-07 21:40:52 +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 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 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 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 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 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 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 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 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 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 f98b313234 Logging fix 2025-04-02 18:30:43 +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 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 426e289193 Plugins must be initialized before memory, so they can change the size. Fixes #20185 2025-04-02 09:38:24 +02:00
Henrik Rydgård 521d386aec Warning, format fix 2025-04-02 09:26:04 +02:00
Henrik Rydgård f10599bbdb Warning fix (though no actual semantic change) 2025-04-02 09:26:04 +02:00
Nab 748e2e980e Add bouncing icon background animation 2025-03-31 20:59:28 +02:00
Henrik Rydgård 940e2375aa Libretro: Correctly update the boot process
Made untested changes after #20183 - surprise, it didn't work.

Thanks @Duarte475 for reporting.

Fixes #20189
2025-03-31 14:16:17 +02:00
Henrik Rydgård f3c1fa7c05 Quick sanity check for EBOOT deletion. Fixes #20187, although arguably we should be even stricter. 2025-03-31 12:30:47 +02:00
Henrik Rydgård 95efd11bcb More minor cleanup 2025-03-31 12:20:39 +02:00
Henrik Rydgård a79f986411 More module loading cleanup, choose better filenames for dumped PRX files 2025-03-31 12:09:25 +02:00
Henrik Rydgård 7e2f724d35 Minor cleanup in __KernelLoadELFFromPtr 2025-03-31 11:53:39 +02:00
Henrik Rydgård 4e25f44eef Rename some module-related functions to include HLE where appropriate 2025-03-31 11:17:50 +02:00