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
Henrik Rydgård
c418513fa5
Fix bad check, add some comments
...
And remove unneded initial text.
2025-03-25 22:01:33 +01:00
Henrik Rydgård
5ea7729f66
More work on atrac-through-sas
2025-03-25 22:01:33 +01:00
Henrik Rydgård
172e54286e
Refactor a bit to make it easier to expose the streaming state to the debugger.
2025-03-25 22:01:33 +01:00
Henrik Rydgård
1bd5cffa1d
Initial work on re-implementing atrac-through-sas
2025-03-25 22:01:30 +01:00
Henrik Rydgård
4b123a2e09
Move the sceSas error codes into the big enum
2025-03-25 12:04:33 +01:00
Henrik Rydgård
eb251af964
Create decodeTemp_ on demand. Fixes #20150
2025-03-25 00:30:31 +01:00
Henrik Rydgård
3e15d97be8
New atrac: A safety check in DecodeInternal
2025-03-25 00:01:55 +01:00
Henrik Rydgård
2b558eb545
Fix regression in Tomb Raider Legends
...
Need to make sure a buffer size check happens before the buffer is
accessed - since the game calls sceAtracSetDataAndGetID with both buffer
and bufferSize as 0, and it expects to receive TOO_SMALL and not a
memory exception.
Thanks to @sum2012 for quick investigationh help.
2025-03-23 07:11:01 +01:00
Henrik Rydgård
c70a9b2114
Merge pull request #20138 from hrydgard/default-to-new-sceatrac
...
Use the new sceAtrac implementation by default
2025-03-22 12:27:58 +01:00
Henrik Rydgård
63c4b2e9b3
Move SSL error codes to the big enumt
2025-03-21 20:45:23 +01:00
Henrik Rydgård
44bb7a1ac5
Buildfix, minor savestate fix
2025-03-21 20:45:12 +01:00
Henrik Rydgård
0f840e6240
Move JPEG error codes to the big enum, some include cleanup
2025-03-21 20:44:46 +01:00
Henrik Rydgård
999bf59ae1
Move mutex error codes into the big enum
2025-03-21 20:44:46 +01:00
Henrik Rydgård
82728652d8
Move Font and Psmf error codes to the big enum
2025-03-21 20:44:46 +01:00
Henrik Rydgård
ea198dd593
Add mpeg error codes to the big enum
2025-03-21 20:44:46 +01:00
Henrik Rydgård
249281366e
Use the new sceAtrac implementation by default
...
Inverts/renames the setting to allow going back to the old sceAtrac
implementation, to work around any compatibility issue.
Note that we can never delete the old implementation, old savestates
will still use it - can't convert an existing session.
2025-03-20 23:10:21 +01:00
Henrik Rydgård
ae8f8c4abd
Refactor TakeGameScreenshot a bit.
2025-03-20 17:41:44 +01:00
Henrik Rydgård
cb1df4056c
Remove almost-empty files ThreadPools.cpp/h
2025-03-20 17:21:20 +01:00
Henrik Rydgård
e3297d84f5
Fix pointer incrementes with low level decoder
2025-03-20 13:30:49 +01:00
Henrik Rydgård
d83bdc3bf8
Restore the old memory reservation for sceAtrac.
...
See #20133
2025-03-20 13:18:03 +01:00
Henrik Rydgård
0aec6aeddd
Fix silly logic error in Atrac2
2025-03-19 18:17:47 +01:00
Henrik Rydgård
e70dd3b2df
Break out AtracTrack into its own file. Add a little atrac analysis tool to ImDebugger (for future use)
2025-03-19 16:15:51 +01:00
Henrik Rydgård
4325ec945b
Add new sas integration unit test
2025-03-19 12:14:29 +01:00
Henrik Rydgård
eff9bd1fc3
mpeg: Minor cleanup
2025-03-19 11:41:17 +01:00
Henrik Rydgård
ec169e9fa9
Sol Trigger fix
2025-03-19 11:41:13 +01:00
Henrik Rydgård
da2b3fdd13
Warning fixes. Don't clamp readsize to reported file size.
2025-03-19 10:42:32 +01:00
Henrik Rydgård
c5ad1548bc
Add simple AT3 dumping (non-streaming only)
2025-03-19 10:42:32 +01:00
Henrik Rydgård
ef4e04c8a1
Pass more filename information into elf loading. Allow dumping PRX into elf.
2025-03-19 10:42:32 +01:00
Henrik Rydgård
c4241e283a
Prepare to generalize file dumping
2025-03-19 09:46:25 +01:00
Henrik Rydgård
cef14adf67
Assorted logging fixes and cleanup
2025-03-18 13:48:12 +01:00
Henrik Rydgård
2fb10fb5d9
sceAtrac: Crashfix in sas integration
2025-03-18 13:48:12 +01:00
Henrik Rydgård
e45333d1d8
Fix the sceSas context connection
2025-03-18 09:36:34 +01:00
Henrik Rydgård
6d7625ea6b
Implement save state support, with backwards compatibility.
2025-03-18 09:36:33 +01:00
Henrik Rydgård
89a73be155
Compute the joint-stereo flag as needed instead of storing it.
2025-03-18 09:36:33 +01:00
Henrik Rydgård
01076d2a4f
InitLowLevel parameter cleanup
2025-03-18 09:36:33 +01:00
Henrik Rydgård
4a4332b22e
Remove hack where we snuck AtracID into the contexts. Not suppose to be there.
2025-03-18 09:36:33 +01:00
Henrik Rydgård
34c21ed271
track_ removal, part 2 - done!
2025-03-18 09:36:33 +01:00
Henrik Rydgård
02f06faad1
Atrac2 track_ removal, part 1
2025-03-18 09:36:33 +01:00
Henrik Rydgård
5363159610
Error return fixes
2025-03-18 09:36:33 +01:00