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
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
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
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
Henrik Rydgård
8fe166e182
Expose VPL internals as well.
2025-03-31 10:32:01 +02:00
Henrik Rydgård
91809b8667
Expose FPL
2025-03-31 10:26:57 +02:00
Henrik Rydgård
2bfe327dbd
Expose PSPThread in the same manner
2025-03-31 10:24:03 +02:00
Henrik Rydgård
644f5e4e6c
Expose PSPModule (so the debugger can access it later)
2025-03-31 09:56:08 +02:00
Henrik Rydgård
088a02bfdb
Cleanup a lot of the bootup state management.
2025-03-30 14:02:29 +02:00
Henrik Rydgård
ee90d2acc1
PSP boot: Move more of the startup process into the loading thread. Simplifies the code a bit.
2025-03-30 11:22:16 +02:00
Henrik Rydgård
116f8cf3af
Implement resetting from a popup menu on the pause menu.
2025-03-28 14:31:01 +01:00
Henrik Rydgård
d07d7f7ec4
Merge pull request #20169 from hrydgard/initial-debug-console
...
First step of adding a lua console
2025-03-27 15:48:47 +01:00
Henrik Rydgård
d6537d22e4
Merge pull request #20164 from hrydgard/update-rcheevos
...
Update the rcheevos library (for RetroAchievements)
2025-03-27 10:15:27 +01:00
Henrik Rydgård
cf059ff84c
Stub a lua console, add the sol lua wrapper library
2025-03-27 08:59:37 +01:00
Henrik Rydgård
dd7cac5cdc
Some const correctness
2025-03-27 02:13:01 +01:00
Henrik Rydgård
e5d00ce493
Fix startup on Android, oops
...
Forgot that we can't create android-compatible threads in global
constructors, for JNI reasons.
2025-03-27 01:58:53 +01:00
Henrik Rydgård
16f9851bbc
Merge pull request #20156 from hrydgard/reimplement-sas-atrac
...
Reimplement Atrac-through-SAS
2025-03-26 00:34:07 +01:00
Henrik Rydgård
2af71d049b
Lost this behavior by mistake. Should fix the tests.
2025-03-25 23:27:43 +01:00
Henrik Rydgård
0ecd72416b
Reduce overhead of logging further.
2025-03-25 23:09:11 +01:00
Henrik Rydgård
870995a767
Mostly restore the old code path
2025-03-25 22:19:09 +01:00
Henrik Rydgård
96ca0e95f3
Cleanup logging
2025-03-25 22:01:33 +01:00