7760 Commits

Author SHA1 Message Date
daniel229
ed12bb9c89 Fix flickering in SD Gundam G Generation Portable 2016-01-03 09:56:40 +08:00
Unknown W. Brackets
4fac4d364e Atrac: Read non-streamed data from PSP RAM.
This should fix games that don't actually read into the RAM right away,
which is probably "incorrect" but works on the PSP, should should work in
PPSSPP.
2016-01-02 13:20:17 -08:00
Unknown W. Brackets
f0551b4591 Atrac: Add a flag to use PSP RAM (not yet used.) 2016-01-02 13:20:17 -08:00
Unknown W. Brackets
d0c7cc85de Atrac: Update writableBytes/offset on adding data.
It should go in these places, even if GetStreamDataInfo is not called.
2016-01-02 13:20:16 -08:00
Unknown W. Brackets
2df6d7700e Atrac: Refactor out some common validation.
This seems to be happening a lot.
2016-01-02 13:20:15 -08:00
Unknown W. Brackets
1b6dbd45e7 Atrac: Get stream info right for half/full buffers.
Improve it a bit for streamed buffers, but it's still not quite right.
2016-01-02 13:20:15 -08:00
Unknown W. Brackets
e60dc24d29 Atrac: Update some comments/docs on buffers. 2016-01-02 13:20:14 -08:00
Unknown W. Brackets
959015f823 Atrac: Correct typo. 2016-01-02 13:16:22 -08:00
Unknown W. Brackets
96d5e10549 Atrac: Seek ahead only one frame at end.
If it had a partial ending frame, it should go ahead one frame, not one
frame plus the partial ending.
2016-01-02 11:13:48 -08:00
Unknown W. Brackets
85ff5eb68a Atrac: Adjust reads a bit earlier when skipping.
The frames we initially get may not start at 0, depending on how many
frames we're skipping.  Of course...
2016-01-02 11:13:09 -08:00
Unknown W. Brackets
6fe5fe07a4 Atrac: Revert broken seeking fix.
This wasn't the right solution to getting the right packets.
2016-01-02 11:12:35 -08:00
daniel229
678ca9301a Fix tutorial videoes in Tony Hawk P8 2016-01-02 13:33:22 +08:00
Unknown W. Brackets
182d281750 Atrac: Move currentSample on finish.
This seems to be what happens, and allows remaining frames to calculate
properly in some cases where it wasn't before.
2016-01-01 11:34:56 -08:00
Unknown W. Brackets
f88a82e0a6 Atrac: Respect null output even in fail workaround. 2016-01-01 11:34:33 -08:00
Unknown W. Brackets
dafb15d96e Atrac: Clamp packets to valid data.
In case we don't have full valid data yet, return only the part of the
data that is valid.  This allows FFmpeg to decode data it already has, as
necessary.
2016-01-01 11:33:48 -08:00
Unknown W. Brackets
cdca0492a4 Atrac: Update fileoffset handling per tests.
This accounts for the extra offset value.
2016-01-01 11:33:19 -08:00
Unknown W. Brackets
55e450fb1e Atrac: Fix a typo in loop handling. 2016-01-01 10:41:21 -08:00
Unknown W. Brackets
2eb960a3ce Atrac: remove double-read. 2016-01-01 10:24:52 -08:00
Unknown W. Brackets
448e18fba9 Atrac: Backfill buffer when seeking anywhere.
This corrects the output of sample data when seeking to arbitrary
locations.  Otherwise, it's off for a frame or two.
2016-01-01 10:24:18 -08:00
Unknown W. Brackets
7b217af59e Net: don't double-delete thread on shutdown.
Prevents spurious logging / reporting.
2015-12-31 11:19:28 -08:00
Henrik Rydgård
955b8287fe Merge pull request #8341 from unknownbrackets/display-minor
Allow games to set the display to black
2015-12-31 09:42:11 +01:00
gmvbif
281f0e18e6 Fixed some errors from PVS-Studio in Core project
FixedSizeQueue
- Added private operator=
- Changed signature of EndPop
Some changed to printf like functions.
Fixed typo in syn-att.c
2015-12-31 10:25:11 +03:00
Unknown W. Brackets
abede77059 Clean up some logging in sceDisplay. 2015-12-30 17:37:14 -08:00
Unknown W. Brackets
9327749f16 Allow setting the display off.
Final Fantasy Tactics does this to avoid some brief flicker.
2015-12-30 17:29:20 -08:00
Henrik Rydgård
f7c6a98d5c Merge pull request #8337 from unknownbrackets/minor
Fix glCopyImageSubData even more
2015-12-30 21:56:55 +01:00
Unknown W. Brackets
f982e777e5 Stop logging alphatested draws for debug stats.
Measured a small perf hit here, and we're not really using these stats
much anymore.
2015-12-30 10:24:54 -08:00
Henrik Rydgård
290958060f Merge pull request #8314 from unknownbrackets/remaster
Identify remasters based on UMD_DATA hash
2015-12-29 22:09:49 +01:00
Yoshi Sugawara
746ccfc215 changed order of freeing codex context pointer for older versions of ffmpeg 2015-12-29 13:30:15 -05:00
Yoshi Sugawara
e63d01e287 Merge remote-tracking branch 'upstream/master' 2015-12-29 11:04:41 -05:00
Yoshi Sugawara
08cc02d11e removed spacing around pCodecCtx conditional check, added else clause to log that it was NULL when it was not expected to be 2015-12-29 10:54:43 -05:00
Yoshi Sugawara
4d2313ed9f fixed indenting from soft spaces to hard tabs 2015-12-29 04:23:41 -05:00
Yoshi Sugawara
73c04e59fa [iOS]: prevent crashing (EXC_BAD_ACCESS) when releasing FFMPEG context by adding NULL check on codec context pointer 2015-12-28 21:43:11 -05:00
Unknown W. Brackets
a563e606b3 Resolve PBP directories earlier in load process.
This allows us to initialize the memory AFTER determining the proper size,
in the case of remasters.  It also avoids going through load twice.
2015-12-28 14:13:07 -08:00
Unknown W. Brackets
ea6afdff93 Avoid remaster vertex doubling in PPGe. 2015-12-28 14:13:07 -08:00
Unknown W. Brackets
1987c9e157 Dumb typo fix. 2015-12-28 14:13:06 -08:00
Unknown W. Brackets
a8d918b50a Automatically mount exdata/ for remasters.
Using memstick/exdata/GAMEID/.
2015-12-28 14:13:05 -08:00
Unknown W. Brackets
cf1b8e5384 Identify remasters based on UMD_DATA hash. 2015-12-28 14:13:05 -08:00
sum2012
8debe785b8 Revert "Fix Yu-Gi-Oh 6 crash with edit card in Android version"
This reverts commit f659e60c8d57df90d74a944b904a898a1b271f2b.

The crash is correctly fixed
2015-12-29 04:10:18 +08:00
Henrik Rydgård
6764ff295e Merge pull request #8321 from unknownbrackets/jit-invalidate
Invalidate jit blocks on IO read and a few other places
2015-12-28 19:48:25 +01:00
Henrik Rydgård
d70125f953 Merge pull request #8319 from unknownbrackets/jit-branch
Jit: Always link RA, even if branch not taken
2015-12-28 19:47:14 +01:00
Henrik Rydgård
b117896b63 Merge pull request #8317 from unknownbrackets/minor
Minor fixes to SDL + resolution display
2015-12-28 19:46:18 +01:00
Henrik Rydgård
d5121cd974 Merge pull request #8306 from unknownbrackets/lang-fuzzy
Fuzzy match lang when user locale doesn't exist + XP support
2015-12-28 19:44:32 +01:00
Unknown W. Brackets
ddcfed1b5e Jit: Invalidate on dmac copy as well. 2015-12-27 22:06:05 -08:00
Unknown W. Brackets
51016eb1c5 Jit: Invalidate after module loads.
Just to be safe, let's invalidate the entire range.
2015-12-27 22:05:53 -08:00
Unknown W. Brackets
3687be42bc Jit: Invalidate blocks after IO reads.
Fixes #7617.
2015-12-27 21:58:29 -08:00
Unknown W. Brackets
3ec7404d2d Jit: Always link RA, even if branch not taken.
The ops don't write RA conditionally.
2015-12-27 20:47:15 -08:00
Unknown W. Brackets
0c46d7c081 Correct scratchpad memory range checks. 2015-12-27 14:29:12 -08:00
Unknown W. Brackets
1c852ac482 Remove old alphamask hack setting.
No longer used.
2015-12-27 12:04:53 -08:00
Unknown W. Brackets
86127b3d0d Update armips to latest version.
The new version has some speed and other improvements.
2015-12-26 20:30:35 -08:00
Unknown W. Brackets
5fdc72f893 Fuzzy match lang when user locale doesn't exist.
So for example, fr_CA would select fr_FR rather than en_US.  Wrong dialect
can sometimes be pretty far off, but it's still likely a better default.
2015-12-26 07:59:20 -08:00