22208 Commits

Author SHA1 Message Date
Henrik Rydgård
083f7ff280 Strncpy doesn't terminate correctly, switch to truncate_cpy. 2017-05-26 18:26:26 +02:00
Henrik Rydgård
4b46bb4ecf Merge pull request #9727 from hrydgard/arm64-jitcache-fix
ARM64: Don't rewrite the dispatcher when clearing the code cache
2017-05-26 16:41:35 +02:00
Henrik Rydgård
0ec1e5e3b2 Don't erase and rewrite the dispatcher when the cache is cleared. Fixes #9708 2017-05-26 15:48:03 +02:00
Henrik Rydgård
be77ffd4e8 Show the Android "board name" in system information. 2017-05-26 12:29:27 +02:00
Henrik Rydgård
d9695da3a5 Make extra sure that asserts arrive in the Android log. 2017-05-26 11:59:15 +02:00
Henrik Rydgård
280a41b9a8 Merge branch 'ps1controller' of https://github.com/Maradonna90/ppsspp into Maradonna90-ps1controller 2017-05-26 10:01:36 +02:00
Unknown W. Brackets
32b2331efc Merge pull request #9722 from hrydgard/softgpu-rescue
SoftGPU Android rescue operation
2017-05-24 19:44:45 -04:00
Henrik Rydgård
9ce874d2cf Typo fix, MOBILE_DEVICE 2017-05-25 00:31:00 +02:00
Henrik Rydgård
6bccc06628 Reset (through renaming) and hide the software rendering setting on Android. Only show it if it's already enabled. 2017-05-24 20:53:00 +02:00
Henrik Rydgård
875e7f0372 Throw in a few more checks in ElfReader 2017-05-24 20:45:29 +02:00
Henrik Rydgård
5a7d245c31 Merge pull request #9721 from LunaMoo/MEMSIZEforHomebrew
Use InitMemoryForGamePBP also for homebrew(PSP_PBP_DIRECTORY).
2017-05-24 18:32:41 +02:00
LunaMoo
a67e5bc8db Use InitMemoryForGamePBP also for homebrew(PSP_PBP_DIRECTORY). 2017-05-24 18:12:35 +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