1858 Commits

Author SHA1 Message Date
Henrik Rydgård
b2d6eef65d UninstallExceptionHandler: Zero-initialize some structs. I've seen some weird crashes on the free() on Android. 2020-08-10 21:54:49 +02:00
Unknown W. Brackets
850df75c45 Merge remote branch remove-sstream-from-stringutil. 2020-08-10 07:18:49 -07:00
Unknown W. Brackets
e59951382a Global: Make stringutil includes more explicit. 2020-08-10 07:05:22 -07:00
Henrik Rydgård
5ec2da0f2d Move Section out of IniFile so it can be forward declared. Unlocked further improvements to build speed. 2020-08-10 15:53:52 +02:00
Unknown W. Brackets
b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
d0f3cfeb9b Global: Remove some unused header code. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets
1dc5ee424b SaveState: Split out Do types to reduce headers. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets
34f6d085a5 Global: Remove unnecessary includes. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets
667a8522cc Global: Cut down on file/string includes. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets
4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
Henrik Rydgård
fd41c9cd57 These convenience overloads don't work in 32-bit builds, remove them. 2020-08-09 10:28:37 +02:00
Henrik Rydgård
fbf6008a03 Set debug names for more framebuffers and textures 2020-08-09 09:36:54 +02:00
Henrik Rydgård
2f5de1987e Allow passing in an object name tag when creating framebuffers 2020-08-09 09:36:45 +02:00
Henrik Rydgård
11f9df33ba Vulkan: Start adding object names for easier validation debugging 2020-08-08 21:29:29 +02:00
Henrik Rydgård
bf4db22165 SaveState: On section version failure, log out the name of the bad section.
Also some other minor improvements to logging and comments.
2020-08-02 17:11:09 +02:00
Henrik Rydgård
dee0f3f9ec Vulkan debug log: Remove some old exclusions, add a new one (for an old issue) 2020-08-02 15:41:44 +02:00
Henrik Rydgård
49ab71dc7c ExceptionHandler uninstall: Don't crash if no exception handler already installed. 2020-07-27 16:54:50 +02:00
Henrik Rydgård
dc2370ab6b Buildfix 2020-07-19 21:46:46 +02:00
Henrik Rydgård
0829543987 Third part of getting rid of PanicAlert 2020-07-19 20:34:02 +02:00
Henrik Rydgård
47a3bf1dd7 Step 2 of removing PanicAlert 2020-07-19 20:34:02 +02:00
Henrik Rydgård
617bbcfb87 Step 1 of removing PanicAlert 2020-07-19 20:33:25 +02:00
Henrik Rydgård
c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Henrik Rydgård
dae9df3829 Fix a bug in crashhandler where we could end up disassembling far too much. 2020-07-19 17:23:21 +02:00
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
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
f5fd27c3b6 Buildfix. Checking _POSIX_VERSION is not recommended anyway. 2020-07-15 13:53:20 +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
cb1e0438f9 Fix 2020-07-14 14:39:19 +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
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
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
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
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
3691cc990f
Merge pull request #13052 from hrydgard/sdl-resize-fixes
Partly clean up SDL resize code, should help #11974
2020-06-24 01:36:38 +02:00
Henrik Rydgård
f9cef5b6b2 Partly clean up SDL resize code, should help #11974 2020-06-24 01:06:01 +02:00
Henrik Rydgård
7180c2a4c2 Enable Vulkan validation in SDL debug builds 2020-06-23 21:57:02 +02:00
Henrik Rydgård
cd1d73436d Vulkan: Recreate the swapchain if we get too many "out of date" frames.
Should help an issue on my Linux laptop with Intel GPU.
2020-06-22 00:45:05 +02:00
Henrik Rydgård
3d743a5ae7 Buildfixes 2020-06-22 00:01:31 +02:00
Henrik Rydgård
fbc4fa5bca Move the responsibility to register the debugutils callback to the VulkanContext. We only use one anyway. 2020-06-21 23:04:51 +02:00
Henrik Rydgård
6532c345c8 Simplify the validation interface code, bugfixes 2020-06-21 23:04:51 +02:00
Henrik Rydgård
1793b65ec1 Vulkan: Remove support for the old VK_EXT_debug_report extension 2020-06-21 23:04:51 +02:00