Commit graph

7790 commits

Author SHA1 Message Date
Unknown W. Brackets
15a0f39fa1 Return yet more errors while inside interrupts. 2013-08-28 23:15:13 -07:00
Unknown W. Brackets
686d893d5c Return more correct errors inside interrupts. 2013-08-28 22:35:06 -07:00
Unknown W. Brackets
211c2bd955 Refuse a few more waits w/ dispatch/intr disabled. 2013-08-28 22:35:05 -07:00
Unknown W. Brackets
8f25829b06 Change sceAudioOutput* unreseved ch errors.
Tests show it should be this other error code.
2013-08-28 22:35:05 -07:00
Henrik Rydgård
bb2b50c030 Merge pull request #3462 from thedax/restoreDefaultSettingsOption
Restore Default Options: Shorten key, change long key to a default message instead.
2013-08-28 15:36:45 -07:00
The Dax
2897ed56c8 Let's shorten the length of that translation key. 2013-08-28 16:37:37 -04:00
Henrik Rydgård
c2e0174bc1 Merge pull request #3461 from thedax/restoreDefaultSettingsOption
Add an option to restore PPSSPP's settings to default.
2013-08-28 13:31:28 -07:00
The Dax
d113254774 Add an option to restore PPSSPP's settings to default. Does not restore controller bindings to default. 2013-08-28 16:25:58 -04:00
Henrik Rydgård
236fb5f7ef Merge pull request #3458 from thedax/win32Unicode
Win32: Update some funcs in FileUtil.cpp for Unicode(and as a result, correctly use directories with Chinese/Russian/etc. in the path).
2013-08-28 07:46:23 -07:00
The Dax
1350236f4f Win32: Update some funcs in FileUtil.cpp for Unicode. 2013-08-28 10:28:25 -04:00
Henrik Rydgård
bb5467c4a7 Merge pull request #3453 from Kingcom/Clipboard
Fix clipboard type
2013-08-28 01:01:37 -07:00
Kingcom
8a5ba1e406 Fix clipboard type 2013-08-28 09:59:08 +02:00
Henrik Rydgård
dbca1c9cb3 Merge pull request #3451 from raven02/patch-26
Add GE_COMP_NEVER for alpha/color test to return false.
2013-08-28 00:20:05 -07:00
Henrik Rydgård
cbf3a4a1c0 Merge pull request #3452 from unknownbrackets/scheduling
Improve some scheduling issues, deny many waits inside interrupts
2013-08-28 00:18:38 -07:00
raven02
0b98f1f71b Should keep default case 2013-08-28 15:10:40 +08:00
Unknown W. Brackets
17a5a42a14 Disable some common waits inside interrupts. 2013-08-27 23:55:37 -07:00
Unknown W. Brackets
61fae4e920 Return proper errors while dispatch disabled.
In at least the majority of waits.
2013-08-27 23:55:37 -07:00
Unknown W. Brackets
252bf04c64 sceKernelDelaySysClockThread() cleanup.
It doesn't wait either of course.
2013-08-27 23:55:35 -07:00
Unknown W. Brackets
93b461774a Disable common wait funcs while intr disabled.
Per PSP tests.
2013-08-27 23:55:35 -07:00
Unknown W. Brackets
f2b55699e6 Update tests. 2013-08-27 23:55:35 -07:00
Unknown W. Brackets
130f664030 Oops, disabling a subintr did not work. 2013-08-27 23:55:34 -07:00
Unknown W. Brackets
9aaad39b46 Disable sceKernelDelayThread() w/intr disabled.
But automatically resume the dispatch thread if only it is disabled.
2013-08-27 23:55:34 -07:00
Unknown W. Brackets
1c51564896 Stop practicing thread necromancy. 2013-08-27 23:55:34 -07:00
raven02
0f55a6e042 Add GE_COMP_NEVER for alpha/color test to return false. 2013-08-28 14:33:15 +08:00
Henrik Rydgård
61896cd00a Merge pull request #3448 from thedax/master
Clarify an option name. It could be potentially confusing.
2013-08-27 15:13:46 -07:00
Henrik Rydgard
dcc63fd716 PowerVR: work around what appears to be a driver bug with equality test + discard, but not completely sure that discard isn't just broken.
If this change breaks something, it was probably already broken, and it's PVR-only.
2013-08-28 00:12:49 +02:00
The Dax
848218dc75 Clarify an option name. It could be potentially confusing. 2013-08-27 18:10:30 -04:00
Henrik Rydgård
5002979fc6 Merge pull request #3447 from thedax/master
Cleanup: Remove some unused options, and move some out of the "These are broken" section.
2013-08-27 14:42:47 -07:00
The Dax
d583732e0e Remove some unused options, and move one out of the "These are broken" section. 2013-08-27 17:36:04 -04:00
Henrik Rydgard
a530d47fcd Clamp bad audio pitches for safety. 2013-08-27 22:47:45 +02:00
Henrik Rydgard
dd667156f5 Oops 2013-08-27 22:14:13 +02:00
Henrik Rydgard
711d3ff52c Speedup a few 2D games on mobile by eliminating the alpha test in some conditions
That is, if there's no depth testing/writing, and the alpha equation will produce the same result as the alpha test (when the alpha test is >= 0 or != 0 and the blend func is safe), we turn off the alpha test.
2013-08-27 21:48:03 +02:00
Henrik Rydgard
6360fcb0ae Add some stats to get some idea of much alpha tested drawing we do.
Turns out it's one hell of a lot and we really should fix this by
checking both vertices and textures to deduce when we can just skip
alpha testing safely, probably quite often.

I care about this because alpha testing drawing is very expensive
on some mobile chips.
2013-08-27 21:01:17 +02:00
Sacha
d6709a0b32 Remove unnecessary define. Add Qt5 compatibility to qmake file. 2013-08-28 03:19:49 +10:00
Henrik Rydgård
7cb4a27a51 Merge pull request #3445 from thedax/smallTranslationFix
Move "System Information" string to [Developer].
2013-08-27 08:43:53 -07:00
The Dax
59a1669bb3 Move "System Information" string to [Developer]. It's only used here, so I don't think it belongs in [General]. 2013-08-27 11:28:27 -04:00
Henrik Rydgård
9618389c71 Merge pull request #3444 from raven02/patch-25
Minor fix to bool useNonBufferedRendering
2013-08-27 07:47:11 -07:00
raven02
762beae5e5 Minor fix to bool useNonBufferedRendering 2013-08-27 22:31:50 +08:00
Henrik Rydgard
ee6f2613a8 Win32: Ask for destination alpha in the OpenGL context. Fixes some issues in non-buffered rendering, see #3436.
This apparently still happens on Android so will need to fix it separately there.
2013-08-27 16:25:44 +02:00
Henrik Rydgård
d80c82b3c4 Merge pull request #3443 from thedax/win32OSKUnicode
Remove old comment since OSK bypass supports Unicode now.
2013-08-27 06:29:13 -07:00
Henrik Rydgård
6c19cc66b5 Merge pull request #3442 from thedax/win32OSKUnicode
Win32: Update OSK bypass with Unicode/wchar/wstring support.
2013-08-27 05:54:49 -07:00
The Dax
91fe3a8d4c Remove old comment since this now supports wchar/Unicode. 2013-08-27 08:54:41 -04:00
The Dax
d5c4f6673c Switch from u32_le to u32, and truncate the user's input if it's too long(so that they still get something entered. It's probably confusing not to enter something). 2013-08-27 08:46:54 -04:00
The Dax
3c303925c9 Change u32_le to u32. 2013-08-27 08:41:59 -04:00
The Dax
f70faaa0c2 Terminate the loop early if it's going to overflow; there's no reason to keep riding it out. Also fix use of uninitialized variable. 2013-08-27 08:08:06 -04:00
The Dax
2e25f00585 Really prevent the possible buffer overflow. This is getting silly. 2013-08-27 08:02:42 -04:00
The Dax
58ca962d89 Prevent possible buffer overflow. 2013-08-27 07:44:32 -04:00
The Dax
05b860c167 Win32: Update OSK bypass with Unicode/wchar/wstring support. 2013-08-27 07:36:46 -04:00
Henrik Rydgård
bba0e290a1 Merge pull request #3441 from raven02/patch-23
softgpu : use switch case for texture format
2013-08-27 02:29:11 -07:00
Henrik Rydgard
cae5aef231 Detect Ouya correctly, for keymap assignment 2013-08-27 11:27:26 +02:00