Commit Graph

579 Commits

Author SHA1 Message Date
Unknown W. Brackets
b1e31d89e1 Audio: Correct protection against time skew. 2021-10-10 15:05:51 -07:00
Unknown W. Brackets
01b99eff98 Audio: Cleanup buffer wrap code.
This is a bit more straight-forward.
2021-10-09 08:17:55 -07:00
Henrik Rydgård
48310d15a9 Add metafilesystem hook to add optimized implementations of compute recursive directory size 2021-09-11 18:12:29 +02:00
Unknown W. Brackets
906664b9d8 Io: Cache SAVEDATA usage between writes.
Some games will loop over saves to check the size of each, and calculating
the total usage is expensive.  We don't need to recalculate each time.
2021-09-11 07:29:15 -07:00
Henrik Rydgård
a7859cfd2a Fix some comments and a string 2021-08-18 09:28:17 +02:00
Henrik Rydgård
928bc88b01 Rename Unthrottle to Fast-forward globally 2021-08-18 09:28:13 +02:00
Unknown W. Brackets
ff9b9f7321 Sas: Add option to control reverb volume.
This also allows you to turn it off.
2021-08-09 20:47:24 -07:00
Henrik Rydgård
f4a6d291e1 Common: Capitalize setCurrentThreadName(). 2021-04-30 23:02:36 -07:00
Henrik Rydgård
8e953b2a97
Merge pull request #14383 from unknownbrackets/threadpool
Use threads more on startup to improve load time
2021-04-18 09:57:33 +02:00
Unknown W. Brackets
a3680ca3cb Io: Calculate memory stick size on a thread.
If you have a bunch of saves/states/etc. this might be a bit slow.
2021-04-16 01:15:23 -07:00
Unknown W. Brackets
7a1398844a Debugger: Add simple API to control tagging detail.
In case a client requires it.
2021-04-04 20:23:51 -07:00
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