Commit graph

42551 commits

Author SHA1 Message Date
Henrik Rydgård
d11f8609ea Add an easy way to break into the imdebugger from assert messageboxs ("No") 2025-03-19 14:22:02 +01:00
Henrik Rydgård
5f80e7acc4
Merge pull request #20128 from hrydgard/atrac3-followup-2
Atrac3 new impl: Fix Sol Trigger
2025-03-19 12:35:17 +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
978609adec
Merge pull request #20129 from hrydgard/improved-file-dumping
Developer tools: Add settings for dumping decrypted ELFs and atrac files
2025-03-19 11:15:21 +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
ef386ac4c5 Add "GetFileInfoByHandle" function to (many) file systems 2025-03-19 10:42:30 +01:00
Henrik Rydgård
c4241e283a Prepare to generalize file dumping 2025-03-19 09:46:25 +01:00
Henrik Rydgård
bb0123a25e
Merge pull request #20126 from hrydgard/atrac3-followup
Fix a crash in sceAtrac sas integration
2025-03-18 15:15:46 +01:00
Henrik Rydgård
cef14adf67 Assorted logging fixes and cleanup 2025-03-18 13:48:12 +01:00
Henrik Rydgård
1b7de6c17b Allow debug-level logs on all platforms. 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
6d69dfa45d Merge remote-tracking branch 'Felipefpl/master' 2025-03-18 13:35:57 +01:00
Henrik Rydgård
9190a83035
Merge pull request #20098 from hrydgard/atrac3-new-impl
New implementation of sceAtrac (the Atrac3+ module). Enable in developer settings.
2025-03-18 10:52:30 +01:00
Henrik Rydgård
dc9426facc Enable all the atrac tests for CI, forgot this. 2025-03-18 10:02:36 +01:00
Henrik Rydgård
e45333d1d8 Fix the sceSas context connection 2025-03-18 09:36:34 +01:00
Henrik Rydgård
0c64863d21 Minor ImDebugger fixes 2025-03-18 09:36:34 +01:00
Henrik Rydgård
424741861c Enable the new atrac impl when running tests 2025-03-18 09:36:34 +01:00
Henrik Rydgård
6fbcd29f82 Update to the new atrac tests 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
Henrik Rydgård
4379c1ad49 Rebase fixups 2025-03-18 09:36:33 +01:00
Henrik Rydgård
bb436cda8f Reimplement a lot of logic, implement loop streaming properly 2025-03-18 09:36:33 +01:00
Henrik Rydgård
b99348383c Some new findings, loop work 2025-03-18 09:36:33 +01:00
Henrik Rydgård
4d7a8b8233 Some type and comment cleanup 2025-03-18 09:36:33 +01:00
Henrik Rydgård
926a5623d1 Improve comments 2025-03-18 09:36:33 +01:00
Henrik Rydgård
9cc7bab3a5 Implement the simplest looping case (fully loaded audio) 2025-03-18 09:36:33 +01:00
Henrik Rydgård
92737be87e Minor simplification 2025-03-18 09:36:33 +01:00
Henrik Rydgård
deff5ce513 Correct the stream buffering logic to allow for adding unaligned amounts to the buffer. This also simplifies it. 2025-03-18 09:36:33 +01:00
Henrik Rydgård
f4fe91beae Remove unnecessary state variable, fix reset-seeks to fractional positions 2025-03-18 09:36:33 +01:00
Henrik Rydgård
da27e2a93f Fix seeking to offsets other than 0 in a couple of the modes 2025-03-18 09:36:33 +01:00
Henrik Rydgård
e99688fd93 Fix buffer sizing issue for mono tracks 2025-03-18 09:36:33 +01:00
Henrik Rydgård
9623cd4897 Fix playback of fully loaded tracks, fix memory leak 2025-03-18 09:36:33 +01:00
Henrik Rydgård
8b02766702 Some cleanup and refactor. 2025-03-18 09:36:33 +01:00
Henrik Rydgård
36fdb09056 Break apart the SetData function 2025-03-18 09:36:33 +01:00
Henrik Rydgård
8f66ebde90 Shuffle things around a bit 2025-03-18 09:36:33 +01:00
Henrik Rydgård
2367c2d1cf Fix even more edge cases 2025-03-18 09:36:33 +01:00
Henrik Rydgård
1f85887cb6 Logging improvements 2025-03-18 09:36:33 +01:00
Henrik Rydgård
bab09ea30a Implement sceAtracGetInternalError 2025-03-18 09:36:33 +01:00
Henrik Rydgård
86d661f312 Correctly handle corrupted data in decode. 2025-03-18 09:36:33 +01:00
Henrik Rydgård
beaf089870 Add checks for running out of data in decode. 2025-03-18 09:36:32 +01:00
Henrik Rydgård
2dd4602886 Fix half-way buffer streaming 2025-03-18 09:36:32 +01:00