Commit graph

568 commits

Author SHA1 Message Date
Unknown W. Brackets
aa9b19be45 Debugger: Note atrac/sas reads from memory more. 2021-04-03 19:06:46 -07:00
Unknown W. Brackets
13ec384dbe Build: Explicitly include ppsspp_config.h.
This adds it to all files that use it.  Not all our builds include the
file.
2021-03-02 21:04:03 -08:00
Unknown W. Brackets
161ddbeac0 Mpeg: Allow full use of the buffer queue.
Track filled size separately so we can be entirely filled.
2021-02-28 08:56:08 -08:00
Henrik Rydgård
39198b53a5
Merge pull request #14205 from unknownbrackets/mpeg-minor
Mpeg: Correct stream buffer wrapping, cleanup
2021-02-22 16:18:13 +01:00
Unknown W. Brackets
e9325cdb97 Mpeg: Correct stream buffer wrapping, cleanup. 2021-02-22 06:54:40 -08: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
9d031caa9d Mpeg: Assume 29.97 if bad frame rate returned.
FFmpeg 3.1+ reads the frame rate only into private data, and can only expose
it publicly when using the find stream info API that reads too far ahead.
2021-02-20 15:36:53 -08:00
Unknown W. Brackets
d8e3bae2da Mpeg: Prevent sending flush packets to decode. 2021-02-20 15:15:21 -08:00
Unknown W. Brackets
54dd4e4c0c Mpeg: Remove request_probe usage in newer FFmpeg.
No longer needed.
2021-02-18 00:32:16 -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
e3be3d5f7b Mpeg: Clarify fallback problems.
Also, modify it in case some packager was patching, so they see this.
2021-02-18 00:20:27 -08:00
Unknown W. Brackets
e5849d109d Mpeg: Correct stream detection in newer FFmpeg. 2021-02-18 00:20:27 -08:00
Unknown W. Brackets
b19e39efb0 Audiocodec: Update 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
Henrik Rydgård
a911d99ac6
Merge pull request #14040 from unknownbrackets/resampler-bias
Audio: Avoid left shift when resampling
2021-02-16 22:53:22 +01:00
Unknown W. Brackets
f7740edc6d Debugger: Add more metadata for memory usage. 2021-02-15 15:01:21 -08:00
Unknown W. Brackets
8e6a438809 Mpeg: Correct incorrect upload size return. 2021-02-15 15:00:28 -08:00
Unknown W. Brackets
c99de6409d Sas: Minor clenaup. 2021-02-06 18:37:05 -08:00
Unknown W. Brackets
e2d000cd34 Audio: Avoid left shift when resampling. 2021-01-31 10:42:31 -08:00
Unknown W. Brackets
463fc3c792 Mp3: Allow decode without pcm pointer.
Just like other audio decoding, you're allowed to skip audio.
Also prevents a crash if the mp3 is not yet inited.
2021-01-25 23:51:55 -08:00
Henrik Rydgård
bbdc997913 If we are reporting a small memstick size, but data is bigger, lie.
Should fix #13829
2020-12-29 13:23:15 +01:00
shenweip
07685d5e0f Correctly handle stuffing data of pack header. 2020-11-25 00:13:31 +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
sum2012
942ce775cc Fix AuCheckStreamDataNeeded function
fix #13633
2020-11-08 22:47:32 +08:00
Henrik Rydgård
d981511459 Misc cleanup 2020-10-31 18:32:43 +01:00
Unknown W. Brackets
c95e695a38 Io: Track initial free space for compat flag.
This seems to be necessary for Assassin's Creed.  See #12761.
2020-10-19 22:42:49 -07:00
Unknown W. Brackets
e3a201fbc5 Io: Account for free space on the host device. 2020-10-18 20:55:30 -07:00
shenweip
166035a87b Simulates memory stick size to get fixed free space.
Some games may be sensitive to the changes of free space of memory stick, and Android's free space is usually variable.
2020-10-08 23:51:56 +08:00
Henrik Rydgård
92e6a91ae7 Add compat.ini setting to work around memstick size math problem in Harry Potter - Goblet of Fire
See issue #13266
2020-10-06 00:12:58 +02:00
Henrik Rydgård
886a8b1ac6 Remove Timer.cpp/h. Move various collections into Common/Data/Collections. 2020-10-05 21:05:23 +02:00
Henrik Rydgård
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
821817e6d4 Move the profiler to Common 2020-10-04 11:42:16 +02:00
Henrik Rydgård
15382d5f94 Move threading utils from native to Common 2020-10-01 09:27:25 +02:00
Henrik Rydgård
3162f30158 Merge base/basictypes.h into Common/Common.h (mostly). 2020-09-29 15:51:51 +02:00
Henrik Rydgård
054acf768c Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård
b43698a13d Remove most instances of base/logging.h from Common, Core, GPU, more 2020-08-15 19:08:44 +02: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
a722dfe0fb Formalize "core excpetions" as a concept 2020-07-12 15:25:21 +02:00
Henrik Rydgård
efc3f4f5e4 Split CORE_ERROR into CORE_BOOT_ERROR and CORE_RUNTIME_ERROR 2020-07-12 15:25:20 +02:00
Henrik Rydgård
2ba65c831a Fix minor bug in StereoResampler debug display 2020-05-26 23:10:28 +02:00
Florin9doi
5c552771fc [Camera/V4L] Add support for jpeg and multiple buffers
required for Sony EyeToy
2020-05-22 15:50:01 +03:00
Henrik Rydgård
90fd2d9e33 Remove the Audio Resampling setting (now always on). Having it off is not useful because it'll never sync up perfectly over time. 2020-05-17 19:00:48 +02:00
Henrik Rydgård
0692b6dca6 Revert the loop check in StereoResampler, new one could accidentally keep looping when underrun severely (like if emulation stopped). 2020-05-17 18:16:26 +02:00