Commit Graph

7144 Commits

Author SHA1 Message Date
Unknown W. Brackets
ebfa3de388 Fix a couple potential infinite loops. 2013-08-11 16:28:20 -07:00
Henrik Rydgard
8e22554fb0 GCC buildfix (processes more of templates earlier than MSVC) 2013-08-12 00:51:13 +02:00
Henrik Rydgard
3009a92cdd Update native with 32-bit hang fix 2013-08-12 00:09:27 +02:00
Unknown W. Brackets
cf7c718706 Use a timer to keep gpu/cpu in sync periodically.
Fixes Diva Extend demo, at least, losing FPS.
2013-08-11 13:41:42 -07:00
Henrik Rydgard
7c4d273879 Count numFlips in a way consistent with our frame timing. 2013-08-11 22:12:15 +02:00
Henrik Rydgard
fecd9d5f78 Minor optimization, sketch on an lvl.q jit implementation 2013-08-11 22:12:15 +02:00
Henrik Rydgard
9109882c04 More microoptimization 2013-08-11 22:12:14 +02:00
Henrik Rydgard
8e2c485373 Some microoptimization 2013-08-11 22:12:14 +02:00
Henrik Rydgård
16e4482052 Merge pull request #3123 from MrYadro/master
Make more strings translatable.
2013-08-11 13:01:34 -07:00
Henrik Rydgård
12275d0e3a Merge pull request #3125 from raven02/patch-15
Some games like FF Type-0 inits viewport as 0x0
2013-08-11 13:01:11 -07:00
Henrik Rydgård
66569b8e59 Merge pull request #3126 from unknownbrackets/io-async
Use a separate thread for reading/writing
2013-08-11 13:00:41 -07:00
Unknown W. Brackets
fe8850b34d Set the IO thread's name for debugging. 2013-08-11 12:22:01 -07:00
Unknown W. Brackets
dd1cbe55d4 Give sceIoWrite the same treatment, for savedata. 2013-08-11 12:04:38 -07:00
Unknown W. Brackets
193a336189 Run sceIoRead operations on a separate thread.
This should improve stutter.  Also verified via a timer to improve
performance (although, not very much, ~0.07 seconds during an entire
game load.)
2013-08-11 11:53:21 -07:00
Unknown W. Brackets
85ad4a80dd Start and stop a separate thread for IO.
Not actually running anything on it yet.
2013-08-11 11:51:36 -07:00
Unknown W. Brackets
e6b42768fe Add a class to manage IO on a separate thread.
Also separate the logic for exiting the loop based on coreState.  IO and
audio won't necessarily be tied to the frame.
2013-08-11 11:46:55 -07:00
raven02
1eaada15df Reference and modified code from @arnastia 2013-08-12 02:30:17 +08:00
raven02
c2a86d647f Fix wrong size generated of FBO for some games which uses it as render-to-texture 2013-08-12 02:20:55 +08:00
raven02
6c889e556b Some games like FF Type-0 inits viewport as 0x0 2013-08-12 02:15:42 +08:00
Yaroslav
62835aad40 Make more strings translatable. 2013-08-11 22:25:50 +07:00
Henrik Rydgård
da1c59fa75 Update lang 2013-08-11 13:19:32 +02:00
Kingcom
0e6faa4719 Merge branch 'master' of https://github.com/hrydgard/ppsspp into StepOut 2013-08-11 10:32:19 +02:00
Henrik Rydgård
c709315aff Merge pull request #3120 from unknownbrackets/gpu-thread
Fix some more GPU thread sync issues
2013-08-11 01:29:14 -07:00
Henrik Rydgård
3158b622bd Merge pull request #3121 from unknownbrackets/jit-vfpu
Add a few more OUT_EAT_PREFIX flags
2013-08-11 01:26:16 -07:00
Unknown W. Brackets
82aca253e4 Add a few more OUT_EAT_PREFIX flags.
Based on testing the instructions individually.  Cuts a few cases in God
Eater Burst where instructions bailed out of jit.
2013-08-10 23:19:03 -07:00
Unknown W. Brackets
169fbeaca6 As a safety, especially for win32, cap the wait. 2013-08-10 21:27:51 -07:00
Unknown W. Brackets
8786ec74ca Fix some potential threading probs with SymbolMap.
Got some strange crashes.
2013-08-10 20:54:55 -07:00
Unknown W. Brackets
e0f699fd5f Use a possibly harmless hack to prevent hangs.
Not sure where the problem is, but this fixes it pretty consistently for
me... seems like lists are somehow not being processed after becoming
processable?
2013-08-10 20:03:43 -07:00
Unknown W. Brackets
639ab8306b SyncThread before deciding if the fbo is dirty.
Fixes fps drops in yet other games with multithreading enabled.
2013-08-10 18:45:07 -07:00
Unknown W. Brackets
26c072df51 Don't wait directly from GPUCommon, do it in sceGe.
Makes debugging a bit easier.
2013-08-10 18:24:40 -07:00
Unknown W. Brackets
cfb1d02182 Oops, left these here. 2013-08-10 17:18:31 -07:00
Unknown W. Brackets
55c07bdc73 Avoid a possible thread sync issue.
Could be that it's about to wake listsync, does, and then we wait.
2013-08-10 17:18:31 -07:00
Henrik Rydgård
0ef02cddfa Merge pull request #3119 from unknownbrackets/gpu-thread
Sync the GPU thread on list/draw sync
2013-08-10 15:25:05 -07:00
Unknown W. Brackets
abc396cbe1 Sync the GPU thread on list/draw sync.
Otherwise, the CPU gets ahead (inside the frame) and games get confused.
I don't think there's any good workaround to avoid this.
2013-08-10 15:16:49 -07:00
Henrik Rydgard
408e570469 Typo fix 2013-08-10 23:41:29 +02:00
Henrik Rydgard
89ddbb51bb Oops, XMM0 might be taken by temps. Also, s/GC_ALIGN16/MEMORY_ALIGN16 2013-08-10 23:39:24 +02:00
Henrik Rydgård
85e17f03cc Merge pull request #3118 from unknownbrackets/io-async
Prep work for pspFileSystem and two small fixes
2013-08-10 14:32:59 -07:00
Henrik Rydgard
4c6006190f Of course, found the real bug causing #3117 immediately after the revert. Fixed. 2013-08-10 23:32:12 +02:00
Henrik Rydgard
a517b8d53f Fix #3117 (by reverting part of a previous change), plus a minor change that might speed GT up. 2013-08-10 23:25:55 +02:00
Unknown W. Brackets
3bba464451 Add one more missing sceCcc func. 2013-08-10 14:04:42 -07:00
Henrik Rydgard
0dac2b4783 Update native, minor UI stuff and cleanups 2013-08-10 23:04:23 +02:00
Unknown W. Brackets
f68ebfe230 Fix savestates while not running.
Fixes #2791.
2013-08-10 14:04:23 -07:00
Unknown W. Brackets
54ca1e212f Unmount filesystems during HLE shutdown.
Fixes #3115.
2013-08-10 14:04:07 -07:00
Unknown W. Brackets
00ae811446 Shutdown the filesystem after HLE. 2013-08-10 14:01:44 -07:00
Kingcom
599c30d0a1 Merge branch 'master' of https://github.com/hrydgard/ppsspp 2013-08-10 21:20:34 +02:00
Henrik Rydgard
d32e10ff0b Error handling improvements 2013-08-10 19:56:47 +02:00
Henrik Rydgard
1da49273b5 Address some complaints about touch button opacity 2013-08-10 19:23:50 +02:00
Henrik Rydgard
bc84c135b3 Revert vscmp, didn't make a difference in the tests anyway 2013-08-10 19:22:33 +02:00
Unknown W. Brackets
333cc33efb Handle OpenFile() errors in a more threadsafe way.
Probably needs better cleanup though.
2013-08-10 09:54:14 -07:00
Henrik Rydgard
8ba8b3ddd2 gcc warning fix 2013-08-10 18:39:28 +02:00