Commit Graph

11179 Commits

Author SHA1 Message Date
Henrik Rydgård
00c32ddadb Mostly get rid of including "Globals.h" 2013-12-30 10:17:11 +01:00
Henrik Rydgård
079d9c04dd Merge pull request #4942 from unknownbrackets/warnings
Fix some warnings, possibly fix Symbian
2013-12-30 00:28:48 -08:00
Henrik Rydgård
4ccde35d75 Merge pull request #4943 from raven02/patch-29
Mipmapping only enable when texture scaling disable
2013-12-30 00:27:30 -08:00
raven02
d59351d3b0 Mipmapping only enable when texture scaling disable 2013-12-30 14:28:28 +08:00
Unknown W. Brackets
1d302f9cab Keep track of whether PSP_Init() was called.
This way settings are properly enabled/disabled in the menu.
2013-12-29 18:09:28 -08:00
Unknown W. Brackets
ca78f49e5b Attempt to fix Symbian compilation. 2013-12-29 16:21:16 -08:00
Unknown W. Brackets
be55be7dcb Fix some formatting warnings. 2013-12-29 16:08:06 -08:00
Unknown W. Brackets
db77dcd149 Fix some includes on Windows/etc. 2013-12-29 15:59:36 -08:00
Henrik Rydgård
be74da8f3c More include cleanup, hopefully buildfix Symbian 2013-12-30 00:23:04 +01:00
Henrik Rydgård
ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
Henrik Rydgård
87f203a5b8 More include untangling 2013-12-29 23:44:35 +01:00
Henrik Rydgård
79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Henrik Rydgård
f3e550e8df Merge pull request #4938 from unknownbrackets/armjit-minor
Avoid reseved identifiers like _SP, etc.
2013-12-29 14:34:30 -08:00
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