Commit graph

298 commits

Author SHA1 Message Date
Henrik Rydgård
15f5ed81a7 Add a simple compat flag to workaround the Clone Wars issue, #12949
Could probably also be fixed by changing the heuristic a bit, but since
we're in heuristic land anyway and close to a release, I feel this is
the safest option.

Also sneaks in a logspam reduction
2022-07-15 11:44:51 +02:00
Unknown W. Brackets
cc7366e63c HLE: Add a few syscall names. 2021-10-18 06:50:18 -07:00
Unknown W. Brackets
f3f5b2e540 Rtc: Cleanup and simplify date struct handling. 2021-04-11 22:51:33 -07:00
Henrik Rydgård
7cefafeb31
Merge pull request #14199 from unknownbrackets/ffmpeg-update
Mpeg: Set low latency flag for video decode
2021-02-21 18:42:33 +01:00
Unknown W. Brackets
d6dc6e9d64 Mpeg: Set low latency flag for video decode. 2021-02-21 09:05:48 -08:00
Henrik Rydgård
a062c177a3
Merge pull request #14188 from unknownbrackets/ffmpeg-update
Additional fixes for FFmpeg 3.1+
2021-02-21 10:19:36 +01:00
Henrik Rydgård
2f3bc2d373
Merge pull request #14056 from unknownbrackets/debugger-mem
Track memory allocations and writes for debug info
2021-02-21 10:18:11 +01:00
Unknown W. Brackets
d8e3bae2da Mpeg: Prevent sending flush packets to decode. 2021-02-20 15:15:21 -08:00
Unknown W. Brackets
0ab6f1d080 Mpeg: Update videos to latest FFmpeg packet pump. 2021-02-18 00:20:27 -08:00
Unknown W. Brackets
2b2dae60d3 Mpeg: Use direct pts value checks in newer FFmpeg. 2021-02-18 00:20:27 -08:00
Unknown W. Brackets
2362d71d70 Mpeg: Remove deprecated codec register calls. 2021-02-18 00:20:27 -08:00
Unknown W. Brackets
e7b968be73 Debugger: Notate Memcpys directly as well. 2021-02-15 15:01:23 -08:00
Unknown W. Brackets
88e2b9b740 Debugger: Notate memset tags directly. 2021-02-15 15:01:23 -08:00
Henrik Rydgård
8b101ae4a1 Rename the new warmup variable from #14091 2021-02-09 16:11:59 +01:00
sum2012
b127aace57 Only allow sceMpegGetAvcAu warmup for God Eater Series
Fix #14086
2021-02-09 22:46:09 +08:00
sum2012
1d2150d2ae Mpeg:Only allow firmware >= 6 for warmup
Fix blue screen in #13146
2021-01-31 15:32:29 +08:00
sum2012
02f1b6452b Try to build fix on non-windows 2021-01-29 22:45:30 +08:00
sum2012
6bc3cb4dfa Mpeg:Only allow firmware >= 3 for warmup
Fix #13996
2021-01-29 22:26:45 +08:00
shenweip
a174390c95 Corrects the calculation of the return value when the callback of RingbufferPut returns a negative value. 2020-12-28 10:38:27 +08:00
sum2012
a5bd77061b Typo
Thanks @shenweip
2020-12-23 19:52:37 +08:00
sum2012
0572423e2b Fix Grand Theft Auto - Vice City Stories 2020-12-23 06:22:30 +08:00
sum2012
d56e23ec24 Mpeg: Add warm up staff
fix #13527
2020-12-22 23:39:41 +08:00
sum2012
f7a864981c Add stack value in scempeg and scepsmf from jpcsp
Might help video corruption issue
2020-12-16 22:33:55 +08:00
shenweip
3380d31974 Mpeg:Checks autual available space before putting data. 2020-11-23 15:24:03 +08:00
shenweip
0b64d58c7d Fix mistake. 2020-11-18 10:59:45 +08:00
shenweip
a16e758f33 Corrects the number of added packets returned by sceMpegRingbufferPut, especially if callback is called multiple times. 2020-11-15 22:02:53 +08:00
shenweip
5e5f5d0164 Makes video streams amount meet the expectation of sceMpegRegistStream() not only the mpegheader. 2020-11-13 18:55:52 +08:00
shenweip
5819ef1f82 Reads all packets to ringbuffer.
Calls callback multiple times to read all packets when the write position reaches the boundary of the ringbuffer.
2020-11-13 18:50:09 +08:00
sum2012
1f494cf234 Mpeg:Revert part of fa59be7e5d
Fix #13595
2020-11-09 20:57:40 +08:00
Unknown W. Brackets
b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
1dc5ee424b SaveState: Split out Do types to reduce headers. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets
4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
Henrik Rydgård
5423f76e25 Hook up the first UI sound, make it play. 2020-08-03 12:08:11 +02:00
sum2012
fa59be7e5d sceMpegAvcCsc: added range validity tests.
http://code.google.com/p/jpcsp/source/detail?r=3715
2020-07-19 22:14:00 +02:00
Unknown W. Brackets
54e1afda1e HLE: Make calling mips funcs simpler.
This makes their return value handling, scheduling, etc. more
straight-forward.
2020-03-22 06:59:43 -07:00
Unknown W. Brackets
7d36b70a8e Kernel: Rename conflicting kernel object names.
These are names that can often conflict with system headers in ports.
Let's just simplify by prefixing with PSP.

No actual functional/code changes, just syntax and names.
2020-03-15 08:33:40 -07:00
shenweip
54de07d4ea Attempt to replace 0 frame width with valid frame width.(sceMpegAvcCsc)
Fixes #12627.
2020-03-03 17:15:14 +08:00
shenweip
8ccc7996b0 Don't check auAddr. 2020-01-05 22:37:29 +08:00
shenweip
4bc0274d53 Check invalid address in sceMpegAtracDecode.
Fixes #11026.
2020-01-05 22:11:43 +08:00
Henrik Rydgård
bd71af24db Fix some minor things found looking at Valgrind output 2019-02-27 13:42:00 +01:00
Henrik Rydgård
ecf62a03ad Naruto 3: Probably a better fix for the video hang issue.
Fixes #9591, replaces #11772
2019-02-10 11:42:53 +01:00
Unknown W. Brackets
a5f61e798e Mpeg: Avoid reading outside available bytes.
When we're just looking for the size or offset, it shouldn't be necessary
to load the stream, so hopefully we can avoid it.
2018-09-08 12:14:17 -07:00
Greg V
70c54a7d1a Fix build with ffmpeg 4.0 2018-04-21 16:44:45 +03:00
Henrik Rydgård
6a1fa728d8 Remove Globals.h 2017-08-31 17:15:22 +02:00
Henrik Rydgard
fcbc20f240 Small changes to make Common and Core build under my preliminary UWP setup. 2017-02-24 18:59:41 +01:00
Henrik Rydgard
19d321bd8c Fix a bad memory leak in sceMpeg 2017-02-20 11:12:39 +01:00
sum2012
957dfa1288 Add timing of sceMpegDelete
based on JPCSP 8e4e6334da762be37a90855a686a7decbc29bacf
2017-02-08 05:18:22 +08:00
Unknown W. Brackets
f70f05668f Mpeg: Return errors when no audio is available.
Before, we were only returning an error once, in an effort to log only
once.  This meant sometimes games would not realize they needed to add
packets.

Un-reverted from e866d83.  No longer breaks Patapon with other mpeg fixes.
2016-09-24 17:54:40 -07:00
Henrik Rydgård
eac18489e6 Merge pull request #8867 from unknownbrackets/mpeg
Improve mpeg parsing / corruption issues
2016-08-06 18:14:17 +02:00
Unknown W. Brackets
e55198f7e7 Correct some initialization order warnings.
Also, another missing init with IRBlocks.
2016-08-05 10:46:11 -07:00