Commit Graph
6340 Commits
Author SHA1 Message Date
Unknown W. Brackets 9ea765a347 Atrac: Calculate total samples based on data chunk.
Not on the entire RIFF size, which will be (slightly) inflated.
2015-10-25 17:04:22 -07:00
Unknown W. Brackets ac56eff31c Atrac: Parse the smpl chunk more correctly.
Returns the same errors as the PSP.
2015-10-25 17:04:22 -07:00
Unknown W. Brackets 596ecdc431 Atrac: Allow data to extend outside RIFF size.
This seems technically incorrect, but it's allowed on the PSP, possibly
intentionally due to data shipped truncated by accident?
2015-10-25 17:04:21 -07:00
Unknown W. Brackets 522a1743f4 Atrac: Return an error if there's no data chunk. 2015-10-25 17:04:20 -07:00
Unknown W. Brackets 62629827ea Kernel: Clean up event flag logging, style. 2015-10-25 09:08:38 -07:00
Unknown W. Brackets 043891014d Add a simpler way to force on HLE logging. 2015-10-25 09:05:16 -07:00
Unknown W. Brackets d43247b8b8 Kernel: Act on wait clear for flags after callback. 2015-10-25 08:28:07 -07:00
Henrik Rydgard 488aec1df4 Typo fix 2015-10-25 00:54:00 +02:00
Unknown W. Brackets f725453ae6 Sas: Report when revert is enabled. 2015-10-24 13:53:57 -07:00
Unknown W. Brackets 9591db2daa Cleanup RETURN() in __KernelWaitCurThread().
This hasn't been needed for a while.
2015-10-24 13:11:07 -07:00
Unknown W. Brackets f7fa0a06d4 Atrac: Reset the fileoffset only when adding data.
Otherwise, it's only a seek.  For example, a seek to 0, as commonly seen.
2015-10-24 10:37:14 -07:00
Unknown W. Brackets 23c27d61df Improve an error return value. 2015-10-18 13:02:05 -07:00
Unknown W. Brackets cb99c9fc4a Prevent a warning when loading some utility mods. 2015-10-18 12:53:18 -07:00
Unknown W. Brackets d0a9813844 Account for uneven sized chunks by rounding up.
Chunks have an extra pad byte if the size is uneven.  This probably isn't
happening, but just to be safe.
2015-10-18 12:50:40 -07:00
Unknown W. Brackets 8fa843bbc3 Atrac: attempt to power through bad frames. 2015-10-17 16:20:27 -07:00
Unknown W. Brackets d30508ac43 Buildfix for Symbian/Blackberry/etc. 2015-10-17 16:20:27 -07:00
Unknown W. Brackets 60378dd59d Atrac: Hack to make seeking in GTA work. 2015-10-17 16:20:26 -07:00
Unknown W. Brackets 7d32876610 Atrac: Cleanup FFmpeg context ptr management. 2015-10-17 16:20:25 -07:00
Unknown W. Brackets b47458eabb Atrac: fix loading certain savestates.
Some worked with it that high, but others not.
2015-10-17 16:20:24 -07:00
Unknown W. Brackets 5177f16c8d Atrac: Use constants for the states, more clarity. 2015-10-17 16:20:23 -07:00
Unknown W. Brackets 310aa6ed47 Atrac: Remove avio helpers. 2015-10-17 16:20:22 -07:00
Unknown W. Brackets 6420b679d4 Atrac: Split out low-level packet handling.
So we don't have the hack in the other code at all.
2015-10-17 16:20:22 -07:00
Unknown W. Brackets 5174f7df69 Atrac: Read in the jointStereo flag for ATRAC3. 2015-10-17 16:20:21 -07:00
Unknown W. Brackets 27a10bc49f Atrac: Fix AA3 dataOff value.
Note: will still be wrong in savestates...
2015-10-17 16:20:20 -07:00
Unknown W. Brackets 7d0dd0b94a Atrac: Stop using avio/avformat entirely.
Probably breaks AA3 support at this point...
2015-10-17 16:20:20 -07:00
Unknown W. Brackets 2037977292 Revert compatibility flag for GTA Music Hack.
This reverts commit eb4ca0cf81.
2015-10-17 16:20:19 -07:00
Lioncash fea7428fdb Core: Add missing override specifiers 2015-10-17 02:58:02 -04:00
Henrik Rydgård 27a124dcff Merge pull request #8043 from sum2012/modules---
Allocate memory better  by @unknownbrackets
2015-10-14 21:18:00 +02:00
Unknown W. Brackets 4e7c59daae Fix minor typo. 2015-10-12 22:14:14 -07:00
Unknown W. Brackets 679b64ef5a Atrac: calculate instead of using header value map.
These are knowable values, so there's no real benefit to a static table
except potentially error detection.
2015-10-12 22:10:35 -07:00
Unknown W. Bracketsandsum2012 e3254e05f6 Clean up a bit of logging. 2015-10-13 04:24:44 +08:00
Unknown W. Bracketsandsum2012 4aa8c35950 Removed unused code to return fake module id.
We already allocate modules now.
2015-10-13 04:24:38 +08:00
sum2012 5f7cbc9603 Crash fix by @hrydgard 2015-10-09 20:10:57 +08:00
Unknown W. Bracketsandsum2012 5fe49b23e9 Reschedule on module load/unload more correctly. 2015-10-09 20:08:11 +08:00
Unknown W. Bracketsandsum2012 cc92d6fb34 Allocate for utility modules, handle dependencies. 2015-10-09 20:08:07 +08:00
Henrik Rydgard 68fc776fa7 Work around some crashes I got trying to load a GTA:LCS savestate from 2014.
However, the savestate still loads to a black screen, although background audio is working.
2015-10-04 10:34:15 +02:00
Henrik Rydgard eb4ca0cf81 Add a compatibility flag to revert sceAtrac to before #6976. Makes audio work in GTA again.
Hopefully we will find a better fix in the future.

Also see issue #7863.
2015-09-27 11:51:46 +02:00
Henrik Rydgard b07b002040 Introduce "Compatibility Flags".
These should be used very restrictively, see comment in Compatibility.h.

Should help #8004, by disabling depth rounding in Fight Night round 3.
2015-09-27 01:23:20 +02:00
Henrik Rydgard 8996f58693 Generate save state IDs for homebrew using the elf or directory name where applicable. 2015-09-25 19:27:40 +02:00
Henrik Rydgard 351baa101c Some Android warning fixes 2015-09-22 18:30:57 +02:00
sergiobenrocha2 5ec87f3459 Improve detection of for shared libs in both sdl and Qt (zlib, libzip, snappy and glew). 2015-09-16 00:59:31 -03:00
Henrik Rydgård d34219e0ba Merge pull request #7968 from sum2012/patch-1
Enabled some code on proAdhoc by @lightfirst
2015-09-13 23:32:51 +02:00
sum2012 14bbfc8c96 Enabled some code on proAdhoc by @lightfirst
Fix #7962
2015-09-13 21:07:13 +08:00
Unknown W. Brackets 91632a1ea5 Add some fallback logic when scheduling dies. 2015-09-12 13:36:52 -07:00
Unknown W. Brackets c03b163537 Move ThreadQueueList to a separate file.
Not reused anywhere, but just so it's a little cleaner.
2015-09-12 13:03:15 -07:00
Unknown W. Brackets a1139a4f45 Add some comments to the thread queue handling. 2015-09-12 12:57:44 -07:00
Henrik Rydgård 33c39636c8 Don't use deprecated FFMPEG codec IDs. Tries to solve #7955.
Simpler alternative to #7959.
2015-09-12 10:45:03 +02:00
Unknown W. Brackets e0f85a9c6b Native merge part 1: skip native/ in includes. 2015-09-06 12:19:33 -07:00
Henrik Rydgard 1c67de0c21 We don't need a third set of sized integer typedefs, get rid of it. 2015-09-06 19:10:08 +02:00
Henrik Rydgard 72ae497350 Remove glstate usage except in the GPU implementation. Prepare for moving it into PPSSPP. 2015-09-06 12:42:15 +02:00