10858 Commits

Author SHA1 Message Date
Amir Zaim Mohd Zaini
bfeb3806ba Update buildfix for Clang 3.4
Adding the wrapper to avoid warning "-Wtautological-compare":


#ifdef clang-3.4
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wtautological-compare" //used to avoid warning, force compiler to accept it.
#endif clang-3.4

$Code_Content_Here

#ifdef clang-3.4
#pragma GCC diagnostic pop
#endif clang-3.4

Tested on both GCC and Clang compilers and none of these compilers have this problem.
2013-12-09 21:55:03 +08:00
Henrik Rydgård
fd1bd3c606 Merge pull request #4771 from raven02/patch-33
std::bind build fix for VS2012
2013-12-09 05:28:13 -08:00
raven02
75492719e8 std::bind build fix for VS2012 2013-12-09 21:06:38 +08:00
Henrik Rydgård
9e42086e21 Logspam reduction 2013-12-09 13:45:17 +01:00
Henrik Rydgård
e76fc5e56c Clang 3.4 buildfix 2013-12-09 12:52:03 +01:00
Henrik Rydgård
1e30bdfce8 Make the iPSPModel check more general so that iOS also uses 0. Need to figure out what the problem is in the first place though.... 2013-12-09 12:49:52 +01:00
Henrik Rydgård
3b44a60505 Merge pull request #4768 from pal1000/patch-1
Have .zip files detected in curent directory browser
2013-12-09 03:47:38 -08:00
Henrik Rydgård
e14f17b430 isClutSharedForMipmaps: This was presumably inverted by accident? 2013-12-09 12:46:13 +01:00
Henrik Rydgård
68b08ffb9f SoftGPU: Quick and dirty lines and points implementation
No line/point texturing support yet.
2013-12-09 12:43:49 +01:00
Henrik Rydgård
888892bdf6 Readme update 2013-12-09 11:24:37 +01:00
Henrik Rydgård
15a195ef16 Update native with libpng16 workaround for Mac 2013-12-09 11:20:24 +01:00
pal1000
658c6a95e2 Update MainScreen.cpp 2013-12-09 11:50:19 +02:00
Henrik Rydgård
4b605045ea Merge pull request #4767 from unknownbrackets/moduleinfo
Return much more correct values for module info
2013-12-09 01:02:59 -08:00
Henrik Rydgård
fb54de9c02 Merge pull request #4762 from thedax/saveDialogAllowHeldBtns
Save/Load dialogs: Allow held directional buttons to scroll up and down the list repeatedly.
2013-12-09 00:49:17 -08:00
Unknown W. Brackets
1f32720d8f Return much more correct values for module info.
sceKernelQueryModuleInfo() was just completely wrong before.
2013-12-09 00:45:54 -08:00
Henrik Rydgård
7890e47bdd Merge pull request #4766 from unknownbrackets/softgpu2
Improve softgpu performance a bit more
2013-12-09 00:40:43 -08:00
Unknown W. Brackets
c6a441965e Move shared clut check to gstate. 2013-12-08 23:11:56 -08:00
Unknown W. Brackets
cdccf06b62 softgpu: Avoid some ScreenToDrawing() overhead. 2013-12-08 22:38:09 -08:00
Unknown W. Brackets
30394df775 softgpu: Make texture lookups do less math. 2013-12-08 22:37:45 -08:00
Unknown W. Brackets
2b10fbae1e Small tweaks to rel2 logging. 2013-12-08 22:34:36 -08:00
Sacha
dd6479c872 Blackberry: Improve packaging. 2013-12-09 14:43:20 +10:00
The Dax
814a81b692 Allow held directional buttons to scroll up and down the list repeatedly. 2013-12-08 20:33:16 -05:00
Henrik Rydgard
bd1d4e2d92 As if softgpu wasn't slow enough already, implement bilinear filtering. 2013-12-09 01:44:23 +01:00
Unknown W. Brackets
2278bee910 Fix double free when saving. 2013-12-08 14:46:05 -08:00
Henrik Rydgård
9f8f023ff1 Merge pull request #4758 from unknownbrackets/softgpu2
Use multiple threads if available for softgpu.
2013-12-08 14:42:19 -08:00
Unknown W. Brackets
637a9de75d Optimize out some clear mode checks.
Since it's really common and the rasterizer is slow for large draws.
2013-12-08 14:24:17 -08:00
Unknown W. Brackets
598d509fb9 Use multiple threads if available for softgpu.
VIVA OVERHEAD.  But it's actually generally faster this way, even with
only 2 cores running (but not a huge improvement then.)

On an i7, this improves things ~2.5x with 8 cores.
2013-12-08 13:41:20 -08:00
Henrik Rydgård
7dd9951aa2 Merge pull request #4756 from unknownbrackets/savedata
Load savedata images dynamically, cleanup oneshot file reads
2013-12-08 12:49:04 -08:00
Unknown W. Brackets
0636a65ad9 Use ReadEntireFile() a few more places.
This fixes one or two minor memory leaks.
2013-12-08 12:02:37 -08:00
Unknown W. Brackets
2d3f0758c1 Dynamically manage PPGe images so 50+ are okay.
Otherwise, we try to allocate all at once and could run out of ram.

Should fix #2242.
2013-12-08 11:06:18 -08:00
Unknown W. Brackets
18bcf63ee9 Add a convenience helper to load a file oneshot. 2013-12-08 11:05:36 -08:00
Henrik Rydgard
e2080f6c65 Revert "STENCIL_VALUE_UNKNOWN for DECR/INCR/INVERT"
This reverts commit 59d3b92e710de1ed89b75401e223b24de2ca40fe.

Revert "zero alpha if stencil op consistently says to zero for format 5551 as well"

This reverts commit ed07a7f4111de8ecd3b6feb4e32597bbd8809c0b.
2013-12-08 17:48:22 +01:00
Henrik Rydgård
93d501518a Merge pull request #4754 from raven02/patch-32
Zero alpha if stencil op consistently says to zero for format 5551
2013-12-08 06:36:38 -08:00
raven02
59d3b92e71 STENCIL_VALUE_UNKNOWN for DECR/INCR/INVERT 2013-12-08 22:19:13 +08:00
raven02
ed07a7f411 zero alpha if stencil op consistently says to zero for format 5551 as well 2013-12-08 22:05:31 +08:00
Sacha
68e5dbf517 Turn b.sh in to a centralised CMake builder for Native(Linux/BSD), Android, iOS and Blackberry. 2013-12-08 23:18:06 +10:00
Henrik Rydgard
7b4759384f Only zero alpha if stencil op consistently says to zero.
Otherwise we may be better off keeping the alpha.
2013-12-08 13:04:54 +01:00
Henrik Rydgard
109decf481 Actually fix headless build, doh 2013-12-08 12:12:45 +01:00
Henrik Rydgard
628bf497dd Hopefully fix UV scaling properly this time.
Check the faces in Hexyz Force please.
2013-12-08 11:52:20 +01:00
Henrik Rydgard
f5e7a33c68 Handle duplicate on-screen messages better (promote the old one to top). 2013-12-08 11:51:33 +01:00
Henrik Rydgard
6e47401baf Fix headless build 2013-12-08 11:47:41 +01:00
Sacha
a0c5af288c Add InputBox as a platform-specific system function instead of a host function. Enable it on all Qt platforms. Add Set Nickname to mobile Qt. 2013-12-08 20:16:34 +10:00
Henrik Rydgård
08a0709091 Merge pull request #4751 from unknownbrackets/reporting
Cut down on reporting of FBO misuse
2013-12-08 01:18:39 -08:00
Henrik Rydgård
49980441a3 Merge pull request #4747 from unknownbrackets/stencilalpha
Attempt to pick a better blend for stencil replace
2013-12-08 01:13:18 -08:00
Unknown W. Brackets
dc87cd2045 Stop reporting system param reads.
So games use it.  We'll have to decide what to do with that information,
but the reporting isn't that useful now.
2013-12-08 01:10:24 -08:00
Unknown W. Brackets
0e4ca7f9a8 Stop reporting logic ops.
We support them on desktop and they're not really often used.
2013-12-08 00:48:23 -08:00
Unknown W. Brackets
9de7b34d1c Cut down on reporting of FBO misuse.
These cases are likely to be okay.
2013-12-08 00:38:10 -08:00
Unknown W. Brackets
2df1db4c7e Avoid optimizing out both constant colors. 2013-12-07 23:24:25 -08:00
Unknown W. Brackets
a4780f5199 Don't forget the alpha in non-fixed blending. 2013-12-07 23:21:45 -08:00
Sacha
d5147c4234 Add ability to change nickname and take screenshot to Qt Desktop UI. 2013-12-08 04:57:06 +10:00