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
Henrik Rydgård
67c8703302
Correct GetStreamDataInfo. Now passes the test at all buffer sizes I've tried.
2025-03-18 09:36:32 +01:00
Henrik Rydgård
1dd48ec73b
Pass the new test with a fully loaded buffer.
2025-03-18 09:36:32 +01:00
Henrik Rydgård
7a4d175e06
Port over some utility functions, fix bugs.
2025-03-18 09:36:32 +01:00
Henrik Rydgård
9c02eab137
More work - start work on handling buffer wraparound properly. Passes the full test with 1 wraparound!
2025-03-18 09:36:32 +01:00
Henrik Rydgård
724fc1dd95
Work on the new implementation.
2025-03-18 09:36:32 +01:00
Henrik Rydgård
818e7a99bd
minor refactor
2025-03-17 11:02:59 +01:00
Henrik Rydgård
63c997b973
Fix an ordering issue in Atrac context creation
2025-03-16 22:46:44 +01:00
Henrik Rydgård
b7782d98f3
Prepare for Atrac context data to work the new way. Not actually active yet. Also restrict old versions to 4 contexts.
2025-03-16 19:32:03 +01:00
Henrik Rydgård
4fbdb58beb
Merge the "Analyze" function into SetData
2025-03-16 19:32:00 +01:00
Henrik Rydgård
3979b6af54
Combine the two Analyze functions
2025-03-16 12:59:32 +01:00
Henrik Rydgård
8ab41e387e
Reorganize to make the next step easier
2025-03-16 12:21:55 +01:00
Henrik Rydgård
bcf89754c7
First step: Split out the track analysis.
2025-03-16 12:21:55 +01:00
Henrik Rydgård
a3b43d8283
Refactor CurrentSample and ResetPlayPosition
2025-03-16 11:18:33 +01:00
Henrik Rydgård
fd9564166b
More GetTrack removal
2025-03-16 11:06:52 +01:00
Henrik Rydgård
beaced1c87
Move loop status and reset info param validation in behind the AtracBase interface
2025-03-16 09:48:13 +01:00
Henrik Rydgård
9788a770a7
Add a DecodeLowLevel wrapper to the AtracBase interface
2025-03-16 09:47:36 +01:00
Henrik Rydgård
c33a86561f
Remove the strange "successCode" argument to SetData
2025-03-16 09:00:27 +01:00
Henrik Rydgård
d88487e7fd
Update AA3Analyze
2025-03-05 17:02:46 +01:00
Henrik Rydgård
28b2c7f540
HLE log rename part 1: Remove duplicate log functions. Return type should be determined by metadata.
2025-01-29 09:45:39 +01:00
Henrik Rydgård
2523690584
Flip around so sceDelayResult is always outermost. Start using HLECall.
2025-01-20 12:20:18 +01:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
5b625bfd3e
Share GetSecondBufferInfo between implementations
2024-04-16 23:07:03 +02:00
Henrik Rydgård
f05f9a6de3
Code cleanup and comments
2024-04-16 22:54:53 +02:00
Henrik Rydgård
5470885178
Add some basics.
2024-04-15 14:08:01 +02:00
Henrik Rydgård
f3d6c93339
Add empty AtracCtx2 implementation, and a dev setting to select it. Savestates don't work.
2024-04-15 13:50:16 +02:00