Commit Graph

11166 Commits

Author SHA1 Message Date
Unknown W. Brackets
e6b2d00a2f Avoid reseved identifiers like _SP, etc.
R_SP is not that bad.
2013-12-29 14:25:34 -08:00
Henrik Rydgård
5dbc26aec8 Merge pull request #4937 from unknownbrackets/gpu-minor
Ignore material update when no vertex color, softgpu vertex preview
2013-12-29 13:49:24 -08:00
Unknown W. Brackets
8f73ae07c0 softgpu: Fix preview region y1 in ge debugger. 2013-12-29 13:45:10 -08:00
Unknown W. Brackets
473fb866e6 softgpu: Implement vertex preview.
And move ConvertMatrix4x3To4x4() into a common place since there were
differing implementations, which was only confusing.
2013-12-29 13:45:10 -08:00
Unknown W. Brackets
eb0ea71f24 softgpu: Use region for debugger buffer previews.
It's fine if it resizes or etc., but this should generally be the
interesting area of vram to show, without any confusing noise on the
side/etc.
2013-12-29 13:02:04 -08:00
Unknown W. Brackets
9f86959826 Fix typesafety (ScreenCoords not DrawingCoords.) 2013-12-29 12:59:26 -08:00
Unknown W. Brackets
25bc394284 Ignore the material update flag w/o vertex color.
Instead of using materialambient for all of them.

Fixes #3918, and seems to match tests with 3dstudio.
2013-12-29 12:57:30 -08:00
Henrik Rydgård
9ae0f6fcdf Merge pull request #4934 from raven02/patch-28
Fix pull request #4913
2013-12-29 07:10:15 -08:00
raven02
b44542abb7 Fix #4913 2013-12-29 22:30:56 +08:00
Henrik Rydgård
64717d1b02 Shaders: Make sure to always use matching versions.
Really should unify this somehow.
2013-12-29 12:27:19 +01:00
Henrik Rydgård
c277fe3019 Don't declare fragColor0 unless we will use it. See #4877 2013-12-29 11:26:56 +01:00
Henrik Rydgård
acf4562130 Merge pull request #4913 from raven02/patch-25
Set alpha mask based on ReplaceAlphaWithStencil()
2013-12-29 02:19:34 -08:00
Henrik Rydgård
0952674b37 Merge pull request #4898 from raven02/patch-21
GLES3: enable PSP-based mipmapping generation
2013-12-29 02:07:31 -08:00
Henrik Rydgård
e1cc5ea882 Merge pull request #4933 from KentuckyCompass/savestate_openfiles
Save/restore local file handles and seek positions
2013-12-29 01:59:57 -08:00
Kentucky Compass
db77b52caa Save/restore local file handles and seek positions 2013-12-28 23:43:02 -08:00
Unknown W. Brackets
22b859acc2 Prevent replacing an acosf variant.
There's another func that looks identical to this one except its jal in
VC2.  Replacing it with acosf() breaks fog and targetting.
2013-12-28 19:05:53 -08:00
Henrik Rydgård
ff10d0b0f2 Merge pull request #4887 from unknownbrackets/io-minor
Implement a few more ioctl commands
2013-12-28 00:17:37 -08:00
Henrik Rydgård
80d73f3d93 Merge pull request #4923 from lioncash/master
Fix possible null ptr derefs in sceFont.cpp. Also fix typo in if statement comparison in sceNetAdhoc.cpp
2013-12-27 23:47:49 -08:00
Henrik Rydgård
f2fe70039c Merge pull request #4927 from unknownbrackets/replace-funcs
Correctly identify a blockwise memcpy
2013-12-27 23:45:42 -08:00
Unknown W. Brackets
ed759d32ff Correctly identify a blockwise memcpy.
Oops, I didn't realize this one went in blocks of 16.
2013-12-27 21:39:05 -08:00
Lioncash
442cc2f1c7 Fix a typo in an if statement comparison in function sceNetAdhocPdpDelete. This was likely intended to check against 'sock', not 'socket'. On Windows, initially 'socket' referred to a function in the WinSock2.h header file. Naturally, this will alway be non-null, which further leads to the conclusion that this was the intended comparison.
Also updated the commented out sections accordingly.
2013-12-27 12:02:53 -05:00
Lioncash
19dee283f2 Access font after the null check in sceFontGetCharImageRect, not before. 2013-12-27 11:42:14 -05:00
Unknown W. Brackets
0c3dd53c2b Remove extraneous lookup. 2013-12-27 08:05:19 -08:00
Unknown W. Brackets
0bf1ef5773 Improve sceIoGetDevType() return values.
At least for block/file devices.  Can't find a way to get an alias.
2013-12-27 08:04:00 -08:00
Unknown W. Brackets
23971e9900 Implement ioctl command 0x01020002. 2013-12-27 08:03:59 -08:00
Unknown W. Brackets
dbf86187e3 Add Ioctl() to IFileSystem, cleaner. 2013-12-27 08:03:59 -08:00
Unknown W. Brackets
8c34f5f78e Implement ioctl command 0x01d20001. 2013-12-27 08:03:58 -08:00
Unknown W. Brackets
d916ce7658 Correct result for sceIoRead type ioctls. 2013-12-27 08:03:58 -08:00
Unknown W. Brackets
76d0cd444e Implement ioctl command 0x01f100a6. 2013-12-27 08:03:57 -08:00
Unknown W. Brackets
2433ff5f04 Implement ioctl command 0x01f30003.
Wonder if this will fix anything, it was silently not reading before.
2013-12-27 08:03:57 -08:00
Henrik Rydgård
7a643f3c78 Merge pull request #4918 from unknownbrackets/memblocks
Allow memblocks to be used with partition funcs
2013-12-27 02:26:49 -08:00
Henrik Rydgård
1741fa54a7 Merge pull request #4919 from unknownbrackets/load-module
Implement sceKernelLoadModuleBufferUsbWlan()
2013-12-27 02:24:51 -08:00
Unknown W. Brackets
bde1d14f25 Update hashmap before deciding to abort.
Otherwise, if you delete it, it can never generate one.
2013-12-27 00:29:37 -08:00
Unknown W. Brackets
0f3c9ca92f Implement sceKernelLoadModuleBufferUsbWlan(). 2013-12-27 00:28:38 -08:00
Unknown W. Brackets
6816bb9948 Allow memblocks to be used with partition funcs.
It seems that the uids are interchangeable.  Probably won't matter, but
now they have proper uids.
2013-12-26 21:00:17 -08:00
raven02
d1327822d1 ReplaceAlphaWithStencil() has been checked for gstate.isStencilTestEnabled() 2013-12-26 11:33:53 +08:00
raven02
40efc5fb4d Regroup Stencil Testing 2013-12-26 11:18:16 +08:00
raven02
e5059d2c96 Set amask based on ReplaceAlphaWithStencil() 2013-12-25 19:42:08 +08:00
Henrik Rydgård
ca0fd61998 Merge pull request #4910 from raven02/patch-24
Reformat stencilToAlpha a bit
2013-12-25 01:25:35 -08:00
raven02
0a44bff7fa GLES3: Try to re-enable PSP-based mipmapping generation 2013-12-25 17:17:10 +08:00
raven02
9676f6943f Restore Alpha/ColorDoubling to do before color test 2013-12-25 15:39:37 +08:00
Henrik Rydgård
038b0f51aa Merge pull request #4892 from sum2012/sceumd
Fix Sceumd
2013-12-24 12:25:05 -08:00
raven02
f97aacce45 Reformat stencilToAlpha a bit 2013-12-24 22:36:57 +08:00
Henrik Rydgard
acce50aaa5 A few more math functions replaced 2013-12-22 12:51:16 +01:00
Henrik Rydgård
e16203d7c3 Merge pull request #4904 from raven02/patch-22
GLES3: uses GL_MIN/MAX as supported
2013-12-22 02:13:40 -08:00
Henrik Rydgård
b0bfda6333 Merge pull request #4515 from bollu/improvedTilControls
Redid the tilt controls in a nicer way
2013-12-22 02:13:28 -08:00
raven02
8a9ba716a0 GLES3: uses GL_MIN/MAX as supported 2013-12-22 15:20:04 +08:00
Henrik Rydgard
7189adf33a non-windows x86 buildfix 2013-12-21 19:47:59 +01:00
Henrik Rydgard
fe472b4255 Update native, setting ATIClampBug on Tegra as it has the same behaviour.
Fixes black screen in GTA on Tegra.
2013-12-21 13:47:49 +01:00
Henrik Rydgard
9e109e16d9 Android buildfix.
Also, this warning flag appears not supported. (4.6?)
2013-12-21 13:06:29 +01:00