22196 Commits

Author SHA1 Message Date
Henrik Rydgård
875e7f0372 Throw in a few more checks in ElfReader 2017-05-24 20:45:29 +02:00
Henrik Rydgård
7d0cfbabe7 thin3d gles: Unbind buffers after drawing. Fixes #9715 2017-05-24 12:06:02 +02:00
Henrik Rydgård
14900d4c1b Fix crash when pressing F12 in software mode. 2017-05-24 11:10:03 +02:00
Henrik Rydgård
fe368caa2d Merge pull request #9720 from hrydgard/softgpu-alignment-fix
SoftGPU: Make sure transformunit.buf is properly aligned. Helps part of #9718
2017-05-24 10:53:38 +02:00
Henrik Rydgård
e981139e71 Some constification in ElfReader, sanity checks in sceKernelMutex. Might help #9718 a little bit, though probably not the Elf issue (and if the workarea pointer is bad, it's not likely the game will limp along for much longer) 2017-05-24 10:52:19 +02:00
Henrik Rydgård
8f9e0b7fcc SoftGPU: Make sure transformunit.buf is properly aligned. Helps part of #9718 2017-05-24 10:20:10 +02:00
Henrik Rydgård
da8ac556e4 Merge pull request #9717 from unknownbrackets/d3d9-halfpixel
D3D9: Correct half-pixel offset
2017-05-24 08:59:29 +02:00
Unknown W. Brackets
c19faf8ac8 D3D9: Correct half-pixel offset. 2017-05-23 23:45:55 -07:00
Unknown W. Brackets
1bf3885048 Merge pull request #9716 from LunaMoo/TimeStuff
Init rtcBaseTime.tv_usec to 0 to return matching time in some syscalls
2017-05-23 22:47:41 -04:00
LunaMoo
ea725e3b19 Init rtcBaseTime.tv_usec to 0 2017-05-24 02:43:32 +02:00
Henrik Rydgård
e776eff6db Update version to 1.4.1 v1.4.1 2017-05-23 12:45:38 +02:00
Henrik Rydgård
4cb409aa1d Merge pull request #9699 from hrydgard/readme-1.4.1
Update readme for 1.4.1, which will be released soon
2017-05-23 11:24:24 +02:00
Unknown W. Brackets
505941908a Merge pull request #9709 from hrydgard/selective-partial-restart
Don't use partial-restart unless debugger is present.
2017-05-21 12:40:29 -04:00
Unknown W. Brackets
84b8a30992 Merge pull request #9710 from LunaMoo/loadExec
Add sceKernelLoadExec_28D0D249.
2017-05-21 11:37:38 -04:00
Henrik Rydgard
831fe6e282 README: Add mention of framebuffer blit fix 2017-05-21 17:29:10 +02:00
Henrik Rydgard
a1e3be445a Don't use partial-restart unless debugger is present.
Works around #9666 for most practical purposes.
2017-05-21 17:25:00 +02:00
LunaMoo
00585e70ea Add sceKernelLoadExec_28D0D249. 2017-05-21 17:17:31 +02:00
Henrik Rydgård
6e66f443e6 Merge pull request #9705 from unknownbrackets/win-input
Windows: Avoid input race condition on GPU switch
2017-05-21 12:40:42 +02:00
Henrik Rydgård
8fbca1d14a Merge pull request #9706 from unknownbrackets/softgpu-vdec
SoftGPU: Use vertexjit for submitted primitives
2017-05-21 12:39:08 +02:00
Henrik Rydgård
13e7dae72d Merge pull request #9707 from unknownbrackets/softgpu-d3d9
SoftGPU: Fix rendering when using Direct3D 9
2017-05-21 12:32:44 +02:00
Unknown W. Brackets
259af56ee6 SoftGPU: Fix rendering when using Direct3D 9.
Since we restore dxstate when setting a framebuffer or backbuffer, we need
something that populates it.
2017-05-20 21:29:09 -07:00
Unknown W. Brackets
8187927b9d SoftGPU: Use vertexjit for submitted primitives.
This uses the standard cache other rendering uses.

In Legend of Heroes 3, for example, this provides a 10% speed improvement.
2017-05-20 20:22:35 -07:00
Unknown W. Brackets
b9c0f76049 Windows: Avoid input race condition on GPU switch.
The issue is worse if polling controllers (i.e. XInput) is slow, but we
want to stop that thread while we're resetting `host`.
2017-05-20 12:33:28 -07:00
Unknown W. Brackets
984060a85f Merge pull request #9677 from hrydgard/joystick-sensitivity
Quick hack to enable analog stick sensitivity on non-windows platforms.
2017-05-20 13:41:27 -04:00
Henrik Rydgård
66dc0ea62f Typo fix 2017-05-19 11:23:22 +02:00
Henrik Rydgård
99bb4f14e1 Merge pull request #9701 from Enyby/patch-1
Update gpu_features.cpp
2017-05-18 23:15:04 +02:00
Enyby
f7deda22ae Update gpu_features.cpp
Add additional check for valid parsing GL ES version by driver for work on some bad drivers. See #9688
2017-05-19 00:02:10 +03:00
Henrik Rydgård
ad84058d3a Really no need to hold eventMutex_ while dispatching events, only when interacting with the queue. Might fix further deadlocks (see #9698) 2017-05-18 17:29:36 +02:00
Henrik Rydgård
85654aafce Merge pull request #9698 from hrydgard/managedtexture-reliability
General crash and hang fixes
2017-05-18 17:15:19 +02:00
Henrik Rydgård
c3332e49bb Update readme for 1.4.1, which will be released soon 2017-05-18 16:04:19 +02:00
Henrik Rydgård
b286283ced Since we know from #9601 that e9d5eb694b is wrong, at least make it more specific. 2017-05-18 15:30:12 +02:00
Henrik Rydgård
75fa53e63b Make sure the analog sensitivity defaults correctly on non-Windows 2017-05-18 15:16:32 +02:00
Henrik Rydgård
4491c7e2ca Quick hack to enable analog stick sensitivity on non-windows platforms.
See #8028
2017-05-18 15:15:10 +02:00
Henrik Rydgård
6d58a8d8f6 Move up Software Rendering to Rendering where it belongs. Makes it easier to turn it off if enabled by accident. Also warn if used and it runs slow. 2017-05-18 14:56:10 +02:00
Henrik Rydgård
2f5ea23a8a Prevent a deadlock between View::eventMutex_ and ScreenManager::inputMutex_ by locking here so the reverse lock order can't happen. 2017-05-18 14:37:42 +02:00
Henrik Rydgård
d0613511b2 Many reported ANRs were from homebrew installs. Make sure installs run on the background thread. 2017-05-18 14:21:13 +02:00
Henrik Rydgård
79c0d895ce Found a suspicious hang report that makes me think this mutex should be recursive. 2017-05-18 13:29:18 +02:00
Henrik Rydgård
049d06cdc4 More paranoia 2017-05-18 13:29:00 +02:00
Henrik Rydgård
df6ce90c84 When what we need is a shared_ptr, we should just go ahead and use one.
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +02:00
Henrik Rydgård
60378a0dcb Minor GameInfo memory handling improvements. Still not great. 2017-05-18 12:41:42 +02:00
Henrik Rydgård
0f4e064053 Remove unused methods 2017-05-18 12:41:18 +02:00
Henrik Rydgård
22e509905e gradle: Add a "flavor dimension" to make Android Studio 3.0 happy 2017-05-18 12:34:44 +02:00
Henrik Rydgård
5336b17579 Merge pull request #9694 from Enyby/patch-1
Update buildassets.sh
2017-05-17 20:06:27 +02:00
Henrik Rydgård
52f3d1d1fd Merge pull request #9695 from Enyby/patch-2
Update copyrelease.sh
2017-05-17 20:06:16 +02:00
Enyby
a1a325e8ad Update copyrelease.sh
Removed copy unexists dir (flash0 moved to assets).
2017-05-17 20:20:47 +03:00
Enyby
55f4e75e21 Update buildassets.sh
Fix assets pathes in build scripts.
2017-05-17 20:17:25 +03:00
Henrik Rydgård
661d8f8a2a Merge pull request #9691 from Enyby/patch-2
Update gpu_features.cpp
2017-05-17 10:58:25 +02:00
Unknown W. Brackets
43e4d636dd Merge pull request #9693 from Enyby/patch-1
Update ab.sh
2017-05-16 23:16:04 -04:00
Enyby
ffb24621cd Update ab.sh
Fix pathes.
2017-05-17 06:15:01 +03:00
Henrik Rydgård
70b000bba7 Remove slowness warning if software renderer is enabled, it'll show on almost everything. 2017-05-16 12:27:40 +02:00