Commit Graph

27455 Commits

Author SHA1 Message Date
Henrik Rydgård
6560192d8e Support full VSync control in SDL OpenGL.
(Not yet Qt).

Forgot about iOS

SDL headless buildfix

Additional iOS buildfix
2020-07-19 12:07:16 +02:00
Henrik Rydgård
f5afb2dbbd Improve some logging, and print the line number from PanicAlerts. 2020-07-19 11:10:51 +02:00
Henrik Rydgård
cd6f16189e Update lang submodule 2020-07-19 11:10:31 +02:00
Henrik Rydgård
f12fba7a12
Merge pull request #13164 from hrydgard/vulkan-surface-cleanup
Vulkan: Some surface code cleanup
2020-07-18 22:59:09 +02:00
Henrik Rydgård
21f99259f3 Eliminate an unnecessary global g_Vulkan. 2020-07-18 22:50:26 +02:00
Henrik Rydgård
05ba88d20c Windows/Vulkan: Don't destroy the surface during resize, no need. 2020-07-18 21:43:27 +02:00
Henrik Rydgård
1897eed9b4 More buildfixes 2020-07-18 21:43:13 +02:00
Henrik Rydgård
e48cb916dd Buildfix 2020-07-18 20:43:47 +02:00
Henrik Rydgård
49d9caeb0d SDL: Avoid destroying the surface on resize. 2020-07-18 20:40:20 +02:00
Henrik Rydgård
697c3b8b36 Cleanup log output on swapchain/surface recreation. 2020-07-18 20:35:39 +02:00
Henrik Rydgård
6e6cac6b9b
Merge pull request #13154 from hrydgard/memfault-improvements
Show more info on crash screen
2020-07-15 14:27:35 +02:00
Henrik Rydgård
f5fd27c3b6 Buildfix. Checking _POSIX_VERSION is not recommended anyway. 2020-07-15 13:53:20 +02:00
Henrik Rydgård
0a2027b447
Merge pull request #13151 from unknownbrackets/save-dialog
Savedata: Correct AM/PM and time/date settings
2020-07-15 13:27:06 +02:00
Henrik Rydgård
8c38d7305e Crash: Show disassembly of the instruction causing the crash, and the symbol name. 2020-07-15 12:38:05 +02:00
Henrik Rydgård
626d173d10 Split the fault handling from MemMap.cpp to MemFault.cpp. 2020-07-15 12:12:57 +02:00
Henrik Rydgård
1350c7471c
Merge pull request #13153 from iota97/readme
Update README following unknows markup way
2020-07-15 11:20:04 +02:00
iota97
8f37dbe3e4 Update README following unknows markup way 2020-07-15 10:21:15 +02:00
Unknown W. Brackets
500107a540 Savedata: Correct AM/PM and time/date settings.
The defaults and exposed system param values were out of sync.
2020-07-14 18:59:23 -07:00
Henrik Rydgård
f1e5dd2449
Merge pull request #13144 from unknownbrackets/travis
Travis: Don't update python3
2020-07-14 23:54:24 +02:00
Unknown W. Brackets
3e817eae4f Travis: Don't update python3.
We already have python3, so no need to update, hopefully.
2020-07-14 07:27:12 -07:00
Henrik Rydgård
d0e9d2c543
Merge pull request #13142 from hrydgard/exception-handler-context-refactor
Exception handler context refactor
2020-07-14 15:35:09 +02:00
Henrik Rydgård
04b0cbbfeb
Merge pull request #13143 from twinaphex/master
(Libretro) Buildfix - add missing file x64Analyzer.cpp
2020-07-14 14:40:10 +02:00
Henrik Rydgård
cb1e0438f9 Fix 2020-07-14 14:39:19 +02:00
twinaphex
d4e1f87487 (Libretro) Buildfix - add missing file x64Analyzer.cpp 2020-07-14 14:09:50 +02:00
Henrik Rydgård
82bc6f6cc5 Windows ARM fix, cleanup 2020-07-14 13:47:25 +02:00
Henrik Rydgård
056999a691 Refactor MachineContext.h to reduce ifdefs elsewhere.
Also fixes Windows on ARM64 (at least the build).
2020-07-14 13:47:25 +02:00
Henrik Rydgård
fe91f62f92
Merge pull request #11795 from hrydgard/exception-handler
Exception handler - catch bad memory accesses by the JIT
2020-07-14 13:35:16 +02:00
Henrik Rydgård
f62df94ab2 There's no sigcontext on 64-bit iOS either, apparently. 2020-07-14 11:39:31 +02:00
Henrik Rydgård
893aa29191 Yet another iOS buildfix attempt 2020-07-14 10:34:40 +02:00
Henrik Rydgård
2916e5b67f
Merge pull request #13139 from hrydgard/vulkan-readback-fencewait
Vulkan: Switch to a fence to synchronize readbacks
2020-07-14 10:28:43 +02:00
Henrik Rydgård
f6cc45a96a Another iOS buildfix attempt 2020-07-14 09:31:58 +02:00
Henrik Rydgård
6f97c3d422 Various platform buildfixes 2020-07-14 09:25:59 +02:00
Henrik Rydgård
a56f391713 Make fastmem memory exceptions report the exceptions to Core correctly. 2020-07-14 09:25:45 +02:00
Henrik Rydgard
465367bf1b iOS buildfix attempt 2020-07-14 09:25:45 +02:00
Henrik Rydgard
430c3ee6a3 HandleFault: Add missing nullcheck 2020-07-14 09:25:45 +02:00
Henrik Rydgard
15c7358e80 Try USE_SIGACTION_ON_APPLE on IOS. 2020-07-14 09:25:45 +02:00
Henrik Rydgard
ac456c2231 MachineContext, Linux/Android: Try to support android-x86 (32-bit) 2020-07-14 09:25:45 +02:00
Henrik Rydgard
fdcf4f06f2 Add x64Analyzer to Android.mk. Some minor cleanup 2020-07-14 09:25:45 +02:00
Henrik Rydgård
236cb57224 More info on crash screen 2020-07-14 09:25:45 +02:00
Henrik Rydgård
96a40bb36d Exceptions: A bit more consistency in callback registeration. 2020-07-14 09:25:45 +02:00
Henrik Rydgård
c3016fe6a5 Mac/Linux buildfixes 2020-07-14 09:25:45 +02:00
Henrik Rydgard
cbc90955ba Draw a minimal crash dump on the emu screen after a crash (if bIgnoreBadMemAccess is false).
Add setting for ignore bad memory accesses
2020-07-14 09:25:45 +02:00
Henrik Rydgard
c988d42b04 ARM/ARM64 instruction analysis, hook up to handler 2020-07-14 09:25:45 +02:00
Henrik Rydgard
aa802ecc0f Skip bad reads/writes by the guest executable. 2020-07-14 09:25:45 +02:00
Henrik Rydgard
1fce6de8b1 Simple exception handler so we can ignore accesses that happen within the PSP memory space. 2020-07-14 09:25:45 +02:00
Henrik Rydgård
b5e7220ed1 Switch to a fence instead for readbacks. Some sources suggest this is better than idling a queue or device.
Like https://stackoverflow.com/questions/39537176/in-what-situations-is-vkfence-better-than-vkqueuewaitidle-for-vkqueuesubmit .

Additionally, this is easier to refactor and loosen up if we can in the
future.
2020-07-14 09:06:07 +02:00
Henrik Rydgård
e66f034fb3 Readback: Downgrade from vkWaitDeviceIdle to vkWaitQueueIdle. Probably effectively pretty much the same. 2020-07-14 09:06:07 +02:00
Henrik Rydgård
e8255441fb
Merge pull request #13137 from twinaphex/master
(Libretro) Add optimal input read codepath - bitmasks
2020-07-14 07:27:18 +02:00
Unknown W. Brackets
9ebb402e4f Vulkan: Buildfix. 2020-07-13 18:19:36 -07:00
Henrik Rydgård
ee4690f1b9
Merge pull request #13138 from hrydgard/unbind-stuff
Vulkan: Make sure textures/samplers are unbound at the end of PresentationCommon::CopyToOutput
2020-07-13 23:58:08 +02:00