Commit graph

24253 commits

Author SHA1 Message Date
Unknown W. Brackets
037a20e7c7 SaveState: Fix rename when undo disabled.
On Windows, for example, the rename target cannot exist.

This also fixes the screenshot rename for the undo.
2018-05-20 20:51:29 -07:00
Unknown W. Brackets
9b6dee126d Core: Shutdown properly on load failure. 2018-05-20 14:17:01 -07:00
Henrik Rydgård
3c066de158 Win32: Not really appropriate to call exit() on a bad filename. Fixes #11030 2018-05-10 00:59:21 +02:00
Henrik Rydgård
701c2c0294 Call updateSustainedPerformanceMode from surfaceChanged as well. May help #11018 2018-05-09 22:03:45 +02:00
Henrik Rydgård
6615e55c5d
Merge pull request #11024 from unknownbrackets/fps-hack
Display: Prevent delaying flips inside interrupts
2018-05-09 06:06:58 +02:00
Henrik Rydgård
c1bdb69687
Merge pull request #11022 from hrydgard/screen-brightness-fix
Android: Only keep the screen bright ingame.
2018-05-09 06:06:27 +02:00
Henrik Rydgård
c1ccc28b15
Merge pull request #11023 from unknownbrackets/file-error
Io: Prevent error when file locked for writing
2018-05-09 06:05:55 +02:00
Henrik Rydgård
f7e6709e5b
Merge pull request #11021 from hrydgard/update-sustained-mode
Update sustained mode on app focus changes
2018-05-09 06:04:01 +02:00
Unknown W. Brackets
d33b8643cb Display: Prevent delaying flips inside interrupts.
It causes us to run out of idle threads, and doesn't even make sense.
2018-05-08 18:32:25 -07:00
Unknown W. Brackets
3c698a5ddb Io: Prevent error when file locked for writing.
When reopening with file sharing flags fixed it, we shouldn't set error.
That would cause the open to still fail.
2018-05-08 18:25:15 -07:00
Henrik Rydgård
a8083b9684 Android: Only keep the screen bright ingame. 2018-05-08 23:05:37 +02:00
Henrik Rydgård
7d3efdc237 Call updateSustainedPerformanceMode on app focus changes. Should help #11018 2018-05-08 20:45:12 +02:00
Henrik Rydgård
ecee4c74b3 Update to the current gradle version, 4.4 2018-05-08 18:44:41 +02:00
Henrik Rydgård
97546d30ff
Merge pull request #11010 from hrydgard/shader-depal-offset-fix
Shader depal (Vulkan): Apply a half-texel offset when bilinear filtering, fixing #11008
2018-05-07 08:10:18 +02:00
Henrik Rydgård
b64841e8cc Minor optimization 2018-05-07 00:05:35 +02:00
Henrik Rydgård
ed52d9f9fb Shader depal (VUlkan): Apply a half-texel offset when bilinear filtering, fixing #11008
Also skip three texture samples if all indices are equal.
2018-05-06 22:30:20 +02:00
Henrik Rydgård
8f5a23b6a8
Merge pull request #11009 from unknownbrackets/file-error
Io: Cleanup file not found error codes
2018-05-06 20:06:14 +02:00
Unknown W. Brackets
f4e8e68c44 Io: Cleanup file not found error codes.
Replay (#10888) caused error to be non zero, which was later translated to
something else, confusingly...
2018-05-06 10:15:05 -07:00
Henrik Rydgård
746a3256d7
Merge pull request #11007 from unknownbrackets/gpu-temp
GPU: Prevent temp FBOs from overwriting each other
2018-05-06 18:57:57 +02:00
Unknown W. Brackets
abbab23814 D3D11: Use a dedicated slot for the depal texture.
Otherwise it affects shader blending.
2018-05-06 08:58:54 -07:00
Unknown W. Brackets
8d07e6d985 GPU: Prevent temp FBOs from overwriting each other.
Sometimes we'd use two temp FBOs in the same draw (e.g. shader blending +
depal.)  This could cause the same temp FBO to get used for two purposes,
causing weird behavior.
2018-05-06 08:57:44 -07:00
Unknown W. Brackets
94ab646cd4
Correct compatibility server link.
Now it's https.
2018-05-05 19:16:51 -07:00
Unknown W. Brackets
8959a9087f
Merge pull request #11003 from hrydgard/depal-vulkan-fix
Fix regression caused by the new depal code for Vulkan. Fixes #10993
2018-05-04 22:33:46 -04:00
Henrik Rydgård
77e574ccc6 Buildfix. 2018-05-04 22:57:13 +02:00
Henrik Rydgård
4adb1263af Update lang submodule 2018-05-04 22:36:19 +02:00
Henrik Rydgård
698bd75209 Fix regression caused by the new depal code for Vulkan. Fixes #10993 2018-05-04 22:24:11 +02:00
Henrik Rydgård
e5c98704a5
Merge pull request #11002 from aliaspider/softrend
softgpu: remove RIP addressing from SamplerX86
2018-05-04 19:11:39 +02:00
aliaspider
17259b87ea softgpu: remove RIP addressing from SamplerX86 2018-05-04 17:37:46 +01:00
Henrik Rydgård
a3bbe87914 D3D11 CopyFBToMemory: Clamp rect to fb size. Last-minute style fix, should really debug where the bad parameters came from.
Affects MGS Peace Walker intro
2018-05-03 23:12:39 +02:00
Henrik Rydgård
3f7602227c Windows: If neither OpenGL nor D3D9 is available, offer an escape route into D3D11.
This does happen on some fresh Win10 installations.

We really should do something much nicer and more automatic, but that's for later.
2018-05-03 22:19:07 +02:00
Henrik Rydgård
554029b477
Merge pull request #10998 from unknownbrackets/vulkan-clear
Vulkan: Keep state on Clear cmds when used later
2018-05-03 20:37:06 +02:00
Unknown W. Brackets
ec5d1a8722 Vulkan: Leave removed commands in render passes.
We'll just need to not check commands.empty(), which we do in a couple
places but not in important ways so far.
2018-05-03 08:04:57 -07:00
Unknown W. Brackets
954f93046f Vulkan: Keep state on Clear cmds when used later.
This also removes duplicate state - for example our UI has some duplicate
Scissor commands.
2018-05-03 07:18:40 -07:00
Henrik Rydgård
73d6446d72
Merge pull request #10997 from unknownbrackets/vulkan-clear
Vulkan: Discard draws immediately before clear
2018-05-03 09:23:17 +02:00
Unknown W. Brackets
844015b7f8
Vulkan: Discard draws immediately before clear.
Fixes #10163, a crash on Adreno when a clear is the last thing in a render pass.
2018-05-02 19:23:49 -07:00
Henrik Rydgård
307b2aa150
Merge pull request #10994 from hrydgard/revert-10944-another-gow-timing-hack
Revert "Limit the flip delay in the other direction to try to work around #10763."
2018-05-02 10:31:33 +02:00
Henrik Rydgård
b6472b562b
Revert "Limit the flip delay in the other direction to try to work around #10763." 2018-05-02 10:07:37 +02:00
Henrik Rydgård
bed6d19a4b
Merge pull request #10986 from unknownbrackets/ui-loading
UI: Cleaning loading handling and use tags
2018-04-30 00:25:50 +02:00
Unknown W. Brackets
21468ce1e4 UI: Cleaning loading handling and use tags.
The tags should let the tweens persist correctly.  See #10974.
2018-04-29 14:44:00 -07:00
Henrik Rydgård
dcd5559616
Merge pull request #10985 from unknownbrackets/android-config
Android: Properly reset home on config reload
2018-04-29 20:59:23 +02:00
Unknown W. Brackets
074f52b819 Android: Properly reset home on config reload.
We reload the config once we know we have permission to read it, but that
means we have to run any cleanup logic on it again.
2018-04-29 11:45:32 -07:00
Henrik Rydgård
92a46e9a08
Merge pull request #10984 from unknownbrackets/gl-screenshot
Fix GLES game screenshots
2018-04-29 19:32:03 +02:00
Unknown W. Brackets
170e871c54 thin3d: Report unsupported format conversion.
Better we know than ignore.
2018-04-29 10:23:53 -07:00
Unknown W. Brackets
ae1bb20b7b GLES: Fix game screenshots. 2018-04-29 10:23:03 -07:00
Henrik Rydgård
900fa523db
Merge pull request #10983 from unknownbrackets/savedata
Savedata: Report secureVersion param usage
2018-04-29 19:22:19 +02:00
Henrik Rydgård
6c5a4bca79
Merge pull request #10982 from unknownbrackets/vulkan-shutdown
Vulkan: Fix use-after-free crash on shutdown
2018-04-29 19:21:37 +02:00
Unknown W. Brackets
a85e914f78 Vulkan: Fix use-after-free crash on shutdown. 2018-04-29 09:47:39 -07:00
Unknown W. Brackets
208b0aa4a7 Savedata: Report secureVersion param usage.
Seems likely this is what's happening in #10814, but need data from more
games.
2018-04-29 09:46:23 -07:00
Henrik Rydgård
35375691d7
Merge pull request #10944 from hrydgard/another-gow-timing-hack
Limit the flip delay in the other direction to try to work around #10763.
2018-04-29 09:46:12 +02:00
Henrik Rydgård
5f9767d19e Remove misleading log 2018-04-29 09:45:34 +02:00