Commit Graph

13906 Commits

Author SHA1 Message Date
Unknown W. Brackets
87b3a7e566 Avoid overly long lags, recover if system too slow.
This will recover better if the system took too long.  Also, fixes #6415
by never waiting too long.
2014-06-24 08:27:21 -07:00
ppsspp213
8e18d0ff94 Update PrxDecrypter.cpp
Unknown Key ADF305F0
2014-06-24 15:48:59 +01:00
Sacha
6cada10e86 Qt: Fix desktop globalUIState -> GetUIState 2014-06-24 14:35:00 +00:00
Henrik Rydgård
c5e5ebe4f2 Merge pull request #6412 from unknownbrackets/texcache
Notify the texcache when fb format changes
2014-06-24 11:00:24 +02:00
Unknown W. Brackets
3ba78c865e Fix low-level atrac3/atrac3+ decoding.
Fixes #6400.
2014-06-24 01:18:00 -07:00
Unknown W. Brackets
412eee0bd9 Wake good pri threads immediately from timeouts. 2014-06-24 00:49:36 -07:00
Unknown W. Brackets
4626e63294 Wake good pri threads immediately from delays. 2014-06-24 00:45:38 -07:00
Unknown W. Brackets
610ada8721 Wake good pri threads immediately from io waits. 2014-06-24 00:45:26 -07:00
Unknown W. Brackets
8e80bd3928 Wake good pri threads immediately from vblank wait. 2014-06-24 00:45:08 -07:00
Unknown W. Brackets
bacae6106b Wake good pri threads immediately from ctrl waits. 2014-06-24 00:44:40 -07:00
Unknown W. Brackets
d8cff4509e Wake good pri threads immediately from audio. 2014-06-24 00:44:35 -07:00
Unknown W. Brackets
6c4a614205 Wake good pri threads immediately from HLE delays. 2014-06-24 00:44:02 -07:00
Unknown W. Brackets
ca2d9286e0 Notify the texcache when fb format changes.
Fixes #2094 again.
2014-06-24 00:14:56 -07:00
Unknown W. Brackets
118736ff75 Don't eat extra cycles when idling.
Rescheduling between threads takes about 3000 cycles, but that's not true
for both sides of e.g. a delay.

Fixes #6409 (assuming 60fps is what a PSP gets.)
2014-06-23 23:02:46 -07:00
Henrik Rydgard
cc269488b2 Protect against bad spline patch data better.
Also fix a struct name collision.
2014-06-24 01:14:32 +02:00
Henrik Rydgard
f30a052fdc Default "ShowTouchPause" to true on Windows - makes sense on tablets. 2014-06-24 00:46:03 +02:00
Sacha
ba0779183a Qt: GIT_VERSION expand fix for Linux. 2014-06-24 08:43:57 +10:00
Sacha
946deda4b3 Remove some redundancy (Symbian/Qt). Symbian has cstdint now. 2014-06-24 08:29:04 +10:00
Henrik Rydgard
e444e21a8a Oops 2014-06-23 22:56:12 +02:00
Henrik Rydgard
b4a9780b81 Typo fix 2014-06-23 22:51:22 +02:00
Henrik Rydgard
8e7570e8cd Improve some error messages 2014-06-23 21:42:31 +02:00
Henrik Rydgard
3005d75c6f Don't override WM_PAINT like that, weird effect ensued (popup menus broke) 2014-06-23 20:27:50 +02:00
Henrik Rydgard
c125205c00 Win32: Set the minimum size of the PPSSPP window to exactly 1x.
Makes it convenient to set 1x, and smaller sizes don't really make
much sense anyway. Also, it prevents the rendering area from ever
becoming 0, which might be an issue with buggy drivers.
2014-06-23 20:24:37 +02:00
Henrik Rydgard
3689cdedc4 Minor tweaks for smoother window resize on Windows. May help #6295 ? 2014-06-23 20:05:13 +02:00
Henrik Rydgard
ae09b521c3 Logging reductions 2014-06-23 20:05:12 +02:00
Henrik Rydgård
e27e285624 Merge pull request #6396 from hrydgard/ridge-racer-hack
Ridge Racer hack: Flush after every prim if fb addr == tex addr.
2014-06-23 17:52:25 +02:00
Henrik Rydgård
14c0c019db Merge pull request #6407 from unknownbrackets/replace-funcs
Fix function replacement hooks on arm
2014-06-23 17:50:32 +02:00
Henrik Rydgård
0110ccb3d2 Merge pull request #6408 from unknownbrackets/gpu-minor
Clear buffers right after creating them
2014-06-23 17:49:54 +02:00
Unknown W. Brackets
8a7b440933 Don't need this flag, it read from memory. 2014-06-23 08:21:20 -07:00
Unknown W. Brackets
24d8a34a0b Properly respect resolveReplacements.
And use the same opcode reading func in armjit as x86jit.
Fixes Star Ocean on Android.
2014-06-23 08:20:38 -07:00
Unknown W. Brackets
ec94498342 When scanning or relocating, check replacements.
Just to make sure we don't wrongly detect the length or unresolve a var
wrong etc.
2014-06-23 08:18:56 -07:00
Sacha
e2664c7ec2 Qt: The .desktop version isn't related to app version.
App uses VERSION from Settings.pri instead.
Also, Qt version checker didn't work in Qt3 anyway so no need for this check.
Update outdated comments in PPSSPP.pro.
2014-06-24 00:11:31 +10:00
Unknown W. Brackets
ad060b992d Clear buffers right after creating them.
Seems like some drivers have trouble otherwise.
2014-06-23 00:17:35 -07:00
Henrik Rydgård
1a830b1b60 Merge pull request #6402 from unknownbrackets/gpu-minor
Fix render-to-tex when format temporarily mismatches
2014-06-23 08:35:15 +02:00
Henrik Rydgård
5436d2f935 Merge pull request #6403 from unknownbrackets/sched-cycles
Eat cycles when context switching and delaying
2014-06-23 08:34:28 +02:00
Henrik Rydgård
04e46d712d Merge pull request #6404 from unknownbrackets/ge-minor
Don't wake a killed list in ge callback end.
2014-06-23 08:32:44 +02:00
Unknown W. Brackets
17496330ce Don't wake a killed list in ge callback end.
Fixes #3198, some homebrew demos locking up.
2014-06-22 23:21:10 -07:00
Unknown W. Brackets
633120b895 Fix a crash on read from stdin.
Found in a homebrew demo.
2014-06-22 23:18:39 -07:00
Unknown W. Brackets
5e8716f9cc Adjust strlen() cycle approximation.
The hashed implementations take several cycles per character.
2014-06-22 23:18:06 -07:00
Sacha
858a783b36 CMake 3.0: Fix DL_LIBS being reset for Blackberry. 2014-06-23 16:07:26 +10:00
Unknown W. Brackets
c1e293fe7c Fix a warning on 32-bit that might be bad... 2014-06-22 22:17:48 -07:00
Unknown W. Brackets
392edb4f84 Eat some cycles when switching threads.
There's a cost and it seems to be at least this much.  Matters for
Wipeout Pure when callbacks are allowed to wait.
2014-06-22 22:17:47 -07:00
Unknown W. Brackets
6d104edb5d Make sure not to leak any enabled vertex arrays.
When returning to EmuScreen, we need to reset any enabled vertex arrays or
we could crash in EmuScreen.  Also, when starting a frame / dirting the
shader, make sure also to toggle the vertex arrays.
2014-06-22 21:42:29 -07:00
Unknown W. Brackets
b8ad665b53 Clear vertex attrib arrays before output to screen.
Doesn't seem to help the mis-enabled arrays, though.
2014-06-22 21:03:33 -07:00
Unknown W. Brackets
4c62a17f72 Allow exact render-to-tex format mismatches more.
If the right format was used recently, it's still okay.  Also check the
x/y offset to try to find the best match.
2014-06-22 21:02:43 -07:00
Unknown W. Brackets
e8803c4e9b Improve sceKernelDelayThread() timing.
A delay of 0 never reschedules, actually, unless there's a better priority
thread.  A greater delay depends on if a >= or similar check matches, but
generally is at least 200us.

It seems like this actually completes in at least another 10-20us.
2014-06-22 19:47:54 -07:00
Henrik Rydgard
8b60fe0239 Ridge Racer hack: Flush after every prim if fb addr == tex addr.
Fixes the bloom errors. @unknownbrackets discovered this method.

Not sure if I want to merge this.. It does add yet another check
to a critical path.
2014-06-22 20:37:50 +02:00
Unknown W. Brackets
8851fc1685 Remove savedIdRegister/MIPS_CALL_ID.
We've never trusted it anyway, simpler without dealing with this stuff.
2014-06-22 11:29:47 -07:00
Sacha
756ad884ed Qt: Workaround for Qt4 quotes. 2014-06-23 04:08:09 +10:00
Henrik Rydgård
b2ae317560 Merge pull request #6393 from hrydgard/menu-audio
Play the game's SND0.AT3 when a game is selected in the menu and on the "game screen".
2014-06-22 19:35:16 +02:00