Commit Graph

16101 Commits

Author SHA1 Message Date
Henrik Rydgård
1170331b53 Merge pull request #7520 from unknownbrackets/gpu-blend
Avoid using constant color when blending
2015-02-23 20:18:09 +01:00
Unknown W. Brackets
a3342a72d7 Fix copy/paste mistake from 808eeb3a25.
I'm pretty sure this was not intentional.
2015-02-23 11:06:44 -08:00
Unknown W. Brackets
b5126f7236 Use ONE/ZERO in place of CONSTANT_ALPHA if okay. 2015-02-23 09:58:46 -08:00
Unknown W. Brackets
3ff51588f7 Avoid using constant color when blending.
If it's just ONE/ZERO or etc., we can keep those constants.  May be
faster, and apparently less buggy in some drivers.
2015-02-23 08:37:00 -08:00
Henrik Rydgård
f2cde73587 Merge pull request #7519 from thedax/d3d9-hack
Add the Phantasy Star Portable 2 depth range hack to Direct3D9 as well.
2015-02-23 11:17:36 +01:00
The Dax
7104629b24 Add the Phantasy Star Portable 2 depth range hack to Direct3D9 as well.
It seems to work fine for me..
2015-02-23 04:42:04 -05:00
Henrik Rydgård
4d7877fa33 Merge pull request #7518 from thedax/touch-tweak
On Maemo, iOS, and Symbian, make sure to always show the menu touch button.
2015-02-23 10:23:50 +01:00
The Dax
c84343e9ae On Maemo, iOS, and Symbian, make sure to always show the menu touch button, regardless of touch control visibility. 2015-02-23 04:13:26 -05:00
Henrik Rydgård
d694ea24fe Merge pull request #7516 from unknownbrackets/gpu-depth
Floor float z coords in throughmode
2015-02-23 09:57:13 +01:00
Henrik Rydgård
cbe8696b64 Merge pull request #7517 from thedax/sound-tweak
If audio is disabled, don't play background audio.
2015-02-23 09:21:17 +01:00
The Dax
31fafe3b32 If audio is disabled, don't play background audio. 2015-02-23 03:07:34 -05:00
Unknown W. Brackets
29e6197e6f Floor float z coords in throughmode.
Fixes #6766 in 32-bit mode only.
2015-02-22 21:04:48 -08:00
Unknown W. Brackets
9d5ae2b336 For 5551 buffers, force stencil mask to 1/0.
4444 it would also be ideal to spread the bits, but that gets a bit
complicated.  5650 probably doesn't matter.
2015-02-22 19:11:11 -08:00
Henrik Rydgård
9489f80a46 Merge pull request #7514 from unknownbrackets/warnings
Fix a few type comparison warnings
2015-02-22 22:34:59 +01:00
Unknown W. Brackets
036b606ef0 Update native. 2015-02-22 13:31:56 -08:00
Unknown W. Brackets
a8b59e171b Fix a few type comparison warnings. 2015-02-22 13:31:23 -08:00
Unknown W. Brackets
8e19f568d7 Optimize spline weighting using SSE and templates.
Makes the Thundaga spell much more survivable on a i7, at least.
2015-02-22 13:24:48 -08:00
Unknown W. Brackets
90605520a1 Add conversions between Vec3f and Vec3Packedf. 2015-02-22 13:16:07 -08:00
Unknown W. Brackets
69756733eb Add another GE cmd for skip tex in debugger. 2015-02-21 18:09:53 -08:00
Unknown W. Brackets
abace1aa76 For render-to-tex, full alpha on 565 use only.
It's not how it was drawn, but how it is used... in case it changes
formats, which apparently Split/Second does.  Fixes #7492.
2015-02-21 18:08:50 -08:00
Henrik Rydgård
3f4cb7fb3e Merge pull request #7508 from unknownbrackets/replace-minor
Allow multiple replacements on the same func
2015-02-22 01:02:33 +01:00
Unknown W. Brackets
1075a394ce Optimize xBRZ with ARGB a bit.
Alpha is quite common with PSP textures.  Measured by Zenju to provide a
15% performance improvement in Visual Studio.
2015-02-21 15:51:03 -08:00
Unknown W. Brackets
0982336565 Oops, fix race in xBRZ buffer alloc. 2015-02-21 15:51:02 -08:00
Unknown W. Brackets
10049e62a8 Allocate the xBRZ buffer only when actually used.
This way if scaling is off, we don't have to worry about potentially
eating more RAM on any platform.
2015-02-21 15:51:02 -08:00
Unknown W. Brackets
3c9150231d Update to xBRZ 1.2, with perf improvements.
Performance improvements in PPSSPP not measured, but xBRZ expects 30%
improvement.  Fixes #7443.
2015-02-21 15:51:01 -08:00
Unknown W. Brackets
8a0f854dc6 Fix an iterator corruption on tls thread autofree. 2015-02-21 15:50:20 -08:00
Unknown W. Brackets
8d15cb953a sceKernelGetTlsAddr() should only return a ptr.
So, that means no error codes - only null.
2015-02-21 15:50:19 -08:00
Unknown W. Brackets
1c0d880bc3 Support the alignment option in tlspl objects. 2015-02-21 15:50:19 -08:00
Unknown W. Brackets
3bfe7102e3 Handle the priority attribute for tlspls. 2015-02-21 15:50:18 -08:00
Unknown W. Brackets
ccaa75ec53 Don't return an error for double tls free.
Apparently, that's a-okay.
2015-02-21 15:50:17 -08:00
Unknown W. Brackets
be1e7cfb37 Fix waiting tlspl result, address not block num. 2015-02-21 15:50:17 -08:00
Unknown W. Brackets
76dfbc7436 Clear tls blocks before alloc and after free.
The PSP actually does both, so let's do it too.
2015-02-21 15:50:16 -08:00
Unknown W. Brackets
abd03bd597 Fix size handling in sceKernelReferTlsplStatus(). 2015-02-21 15:50:16 -08:00
Unknown W. Brackets
baca1ab901 Handle other threads properly when deleting tlspls. 2015-02-21 15:50:15 -08:00
Unknown W. Brackets
f52cb71300 Use an aligned blocksize for TLS. 2015-02-21 15:50:15 -08:00
Unknown W. Brackets
dd07a0596b Free TLS on thread end.
PSP does this so we should too.  Not yet cleaning up completely.
2015-02-21 15:50:14 -08:00
Unknown W. Brackets
4c15afa905 Allow multiple replacements on the same func.
Or, more specifically, hooks.  This allows enter and exit on the same
func, which can obviously be useful for debugging.
2015-02-21 15:48:09 -08:00
Henrik Rydgard
879baec692 With this, Jak and Daxter works again (but does warn at startup and has one illegal GetPointer later).
I really don't understand what's going on..
2015-02-21 13:07:13 +01:00
Henrik Rydgard
1ecfd6cebc More replacement function accuracy improvements. Makes J&D happy, "fixing" #7502. 2015-02-20 00:17:47 +01:00
Henrik Rydgard
f1a856c53c Update README.md for 1.0.1 2015-02-19 11:16:16 +01:00
Henrik Rydgard
23492d8d90 Jak and Daxter relies on implementation details of memcpy (scary!), fix our replacement. Fixes #7502 2015-02-19 11:16:16 +01:00
Unknown W. Brackets
e89c881e4a Merge pull request #7493 from clienthax/master
Fix VideoCore detection for rpi
2015-02-17 12:13:14 -08:00
clienthax
c70fe1c381 Update CMakeLists.txt 2015-02-17 19:15:54 +00:00
clienthax
d8e6a995eb Update CMakeLists.txt 2015-02-17 19:15:08 +00:00
Henrik Rydgård
1d7b0ae4a8 Merge pull request #7491 from thedax/ge-environmentmap-ded9
Update GE_TEXMAP_ENVIRONMENT_MAP in Direct3D9 so it matches OpenGL's behaviour
2015-02-17 09:35:47 +01:00
The Dax
3239e27e84 Update GE_TEXMAP_ENVIRONMENT_MAP in Direct3D9 so it matches OpenGL's behaviour.
Improves the car colours in Outrun 2006, but like OpenGL, it's still got some areas with the wrong blue hue.
2015-02-17 02:17:24 -05:00
Henrik Rydgård
635f43ba7d Merge pull request #7477 from LunaMoo/remove-obsolete-save
Remove 2 more game specific config saves.
2015-02-16 23:14:13 +01:00
Henrik Rydgård
f2bb413fed Merge pull request #7484 from daniel229/fix1
Small fix in sceSfmt19937
2015-02-16 23:13:44 +01:00
Henrik Rydgard
7e38ca38b3 Pause UI: Increase vertical spacing between savestate slots, allow changing the "current" slot by choosing an empty one 2015-02-16 22:41:01 +01:00
daniel229
f8378d0d7f sceSfmt19937 fix 2015-02-16 23:38:45 +08:00