Commit Graph

19549 Commits

Author SHA1 Message Date
Henrik Rydgård
2abf848a80 Merge pull request #8472 from unknownbrackets/mpeg-mono
Mpeg: Correctly handle mono audio in videos
2016-01-22 09:24:53 +01:00
Henrik Rydgård
7d1651bfbf Merge pull request #8471 from unknownbrackets/savestates
Fix a savestate issue while a GE list is running
2016-01-22 09:24:06 +01:00
Unknown W. Brackets
0b1102a622 Mpeg: Correctly handle mono audio in videos. 2016-01-21 23:19:03 -08:00
Unknown W. Brackets
bc48509f33 Add a bit more safety to func replacements.
In case somehow the replacement changes.
2016-01-21 22:17:25 -08:00
Unknown W. Brackets
e964e15ed3 Correct savestate of running GE list.
Fixes #8459.
2016-01-21 22:14:47 -08:00
Henrik Rydgård
380bcba4fc Merge pull request #8470 from chaoren/master
Fix CMake build for Android.
2016-01-22 00:48:10 +01:00
Chaoren Lin
1283336034 Fix CMake build for Android.
Seems like some files have been moved.
2016-01-21 15:39:48 -08:00
Henrik Rydgård
cd35684a46 Merge pull request #8454 from unknownbrackets/gpu-depth-round
Add pixel depth rounding to d3d9, gles2 and support forcing via config
2016-01-21 09:41:26 +01:00
Henrik Rydgård
24cad4cab5 Merge pull request #8468 from unknownbrackets/minor
Add a small assert and some warning fixes
2016-01-21 09:40:32 +01:00
Unknown W. Brackets
9354e253bd Fix some warnings in shader cache read.
In case something gets truncated.
2016-01-21 00:24:45 -08:00
Henrik Rydgård
c0954d7218 Merge pull request #8467 from unknownbrackets/gpu-depth
Blit depth when current, not max, size matches
2016-01-21 09:14:06 +01:00
Unknown W. Brackets
597596884e Add a smart C FILE * helper.
When all you want is for it to close by itself on error.
2016-01-20 23:33:56 -08:00
Unknown W. Brackets
8713e532e0 arm64jit: Log if HI is set an an imm. 2016-01-20 23:26:49 -08:00
Unknown W. Brackets
79792a3c38 d3d9: Account for half-pixel z offset. 2016-01-20 22:53:47 -08:00
Unknown W. Brackets
0443fbebd0 Add methods to download depth to PSP RAM. 2016-01-20 22:11:03 -08:00
Unknown W. Brackets
2916298695 gedbg: Add scaled 16-bit z support. 2016-01-20 22:11:02 -08:00
Unknown W. Brackets
f9970dba94 d3d9: Respect per-pixel depth rounding.
Using the 16-bit depth range.
2016-01-20 22:11:01 -08:00
Unknown W. Brackets
27dba51e70 Add fallbacks where low quality depth is required.
Even on GLES2, this should work.  Also check the depth before applying
rounding - we might even already be 24-bit.
2016-01-20 22:11:01 -08:00
Unknown W. Brackets
79750ed1ad Add a config setting to control depth quality.
For those who want 1x PSP like behavior.
2016-01-20 22:11:00 -08:00
Unknown W. Brackets
57aa864c0c Blit depth when current, not max, size matches.
This is really what was implemented originally, this code was just not
updated to match when we started resizing framebuffers.

Fixes #6497.
2016-01-20 21:35:19 -08:00
Henrik Rydgård
4c8384aa09 Merge pull request #8461 from unknownbrackets/gpu-depth
Swap depth range to use minz/maxz
2016-01-20 10:19:51 +01:00
Henrik Rydgård
6ad9af413e Merge pull request #8465 from unknownbrackets/gpu-stencil
Where possible, rewrite 5551 stencil ops too
2016-01-20 10:19:08 +01:00
Unknown W. Brackets
02bf70a2d0 Where possible, rewrite 5551 stencil ops too.
We can in most cases fix INVERT, and also INCR so INVERT works when we
can't fix it.

Fixes #8422.
2016-01-19 23:17:58 -08:00
Unknown W. Brackets
e00c9940e8 Correct pixel depth rounding. 2016-01-19 20:19:50 -08:00
Henrik Rydgard
dedcc149d8 ARM64: Fix typo in mfhi and mflo instructions. May help #8383 2016-01-19 23:26:43 +01:00
Henrik Rydgård
27fac6e226 Merge pull request #8451 from unknownbrackets/volume
Add a volume configuration setting
2016-01-19 21:59:35 +01:00
Henrik Rydgard
2e9e66d5d5 armips buildfix 2016-01-19 20:09:05 +01:00
Unknown W. Brackets
5de7d2cf8f Oops, correctly center depth. 2016-01-19 07:51:56 -08:00
Unknown W. Brackets
6ef97f72d2 gedbg: Show scaled depth values properly. 2016-01-19 07:23:06 -08:00
Unknown W. Brackets
b80c02c272 Simulate depth clamping.
We'll allow extra space in both directions.  It's not exactly right, but
it's a fast approximation.
2016-01-19 07:12:58 -08:00
Unknown W. Brackets
0920f6c6eb Use minz/maxz as the depth range.
This allows values that fall outside the viewport, but still within the
depth range, to be drawn.
2016-01-19 07:12:57 -08:00
Henrik Rydgård
b28402337c Merge pull request #8455 from maximu/master
Initial x86-x64-android support
2016-01-19 12:24:04 +01:00
Munir
33b0e81014 Merge remote-tracking branch 'upstream/master' 2016-01-19 10:40:21 +01:00
Munir
76890dd7f5 Merge branch 'master' of https://github.com/maximu/ppsspp 2016-01-19 10:33:37 +01:00
Munir
e8097de515 update 2016-01-19 10:32:19 +01:00
Henrik Rydgård
07a16705d8 Merge pull request #8452 from unknownbrackets/gpu-mpeg
Resize FBOs when video width is larger
2016-01-19 09:42:13 +01:00
Henrik Rydgård
b387795d2a Merge pull request #8447 from unknownbrackets/gpu-depth
Simplify depth calculation a bit
2016-01-19 08:51:43 +01:00
Henrik Rydgård
4c35fc0793 Merge pull request #8458 from unknownbrackets/atrac-streaming
Improve atrac streaming positions from tests
2016-01-19 08:51:13 +01:00
Unknown W. Brackets
1b72d3a67a Atrac: Correct remaining frame count for streaming.
This makes more sense, I think this is the right value.
2016-01-18 22:05:01 -08:00
Unknown W. Brackets
d1b3768e49 Use a common func everywhere for float depth vals. 2016-01-18 19:29:45 -08:00
Unknown W. Brackets
600df17eb6 Atrac: Correct loop read pos with offset.
In case it doesn't loop from the start.
2016-01-18 18:11:25 -08:00
Unknown W. Brackets
3466fb1755 Atrac: Adjust loop/nonloop remaining full values.
These are tricky, but it seems like this is right.
2016-01-18 18:00:48 -08:00
Unknown W. Brackets
e2f2c1af90 Atrac: Mark the leading frame consumed on loop.
This is the frame we skip samples from.  Might need smarter logic.
2016-01-18 18:00:48 -08:00
Unknown W. Brackets
3130b7a489 Atrac: Correct stream offset after non-loop end. 2016-01-18 18:00:47 -08:00
Unknown W. Brackets
036c965cf5 Atrac: Correct stream write offset after seek. 2016-01-18 18:00:46 -08:00
Unknown W. Brackets
4c25072328 Atrac: Never ask for more bytes than filesize. 2016-01-18 18:00:46 -08:00
Munir
64f492be65 update submodule 2016-01-18 11:17:47 +01:00
Munir
5536f12da1 Merge remote-tracking branch 'upstream/master' 2016-01-18 09:36:47 +01:00
Henrik Rydgård
afc212b228 Merge pull request #8453 from unknownbrackets/softgpu
Use more common code in softgpu, add normal UV gen
2016-01-18 09:28:24 +01:00
Unknown W. Brackets
51a4ba9950 softgpu: Support screen scaling filter.
No reason it has to be nearest, we have an option for that.
2016-01-17 23:47:42 -08:00