Commit Graph
27431 Commits
Author SHA1 Message Date
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
twinaphex d4e1f87487 (Libretro) Buildfix - add missing file x64Analyzer.cpp 2020-07-14 14:09:50 +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
Henrik Rydgård 131a1eedfb Vulkan: Make sure textures/samplers are unbound at the end of PresentationCommon::CopyToOutput.
Validation caught an issue where old stuff lingered in sampler 1 and texture 1.

Bug probably introduced in #12921, but could also be others.
2020-07-13 23:32:37 +02:00
Henrik Rydgård 53b2ab191b Revert "Disable a new compiler warning that doesn't do us much good"
This reverts commit e3a807fdc1.
2020-07-13 23:31:51 +02:00
twinaphex b8ad9c4d38 (Libretro) Add MSVC 2019 target 2020-07-13 21:12:41 +02:00
twinaphex 5a3e955a5b Change libretro.cpp to confirm to libretro code formatting conventions 2020-07-13 21:11:26 +02:00
Henrik Rydgård e3a807fdc1 Disable a new compiler warning that doesn't do us much good 2020-07-13 19:54:08 +02:00
Henrik Rydgård 92778675df Merge pull request #12879 from unknownbrackets/init-crash
Windows: Make init crash warnings more generic
2020-07-13 19:43:25 +02:00
twinaphex 20d85e57c9 (Libretro) Add optimal input read codepath - bitmasks 2020-07-13 19:13:18 +02:00
Henrik Rydgård bb6219e402 Merge pull request #12921 from unknownbrackets/postshader
Use less FBOs for chained post-processing shaders
2020-07-13 18:52:53 +02:00
Henrik Rydgård 59af3d5823 Merge pull request #13066 from hrydgard/vulkan-outofdate-handling
Move the Vulkan swapchain out-of-date checking to the vkQueuePresentKHR call
2020-07-13 18:50:11 +02:00
Henrik Rydgård e8370b94c0 Remove irrelevant comment 2020-07-13 18:14:12 +02:00
Henrik Rydgård dc6e7a7938 Move the Vulkan swapchain out-of-date checking to the vkQueuePresentKHR call. 2020-07-13 18:14:12 +02:00
Henrik Rydgård 09238edd8e Merge pull request #12913 from unknownbrackets/gles-invalidate
Add glInvalidateFramebuffer on clobber
2020-07-13 18:05:20 +02:00
Unknown W. Brackets dbbcaa9eca GLES: Invalidate framebuffers bound DONT_CARE.
Let's try to invalidate when it's possible.  We move the invalidate to the
end of the render when detected.
2020-07-13 08:00:24 -07:00
Henrik Rydgård 6009bf7b74 Merge pull request #12952 from unknownbrackets/vulkan-safesize
Vulkan: Match safe size behavior on all backends
2020-07-13 15:59:09 +02:00
Henrik Rydgård 4537b807c6 Merge pull request #12969 from unknownbrackets/vertex-cache
Fix and improve the GLES vertex cache
2020-07-13 14:38:06 +02:00
Henrik Rydgård b58ca8af12 Merge pull request #12945 from unknownbrackets/io-timing
Make file open timing a bit more accurate
2020-07-13 13:37:53 +02:00
Henrik Rydgård de6801da2b Merge pull request #13136 from unknownbrackets/crash-minor
Add exec crash checks and minor cleanup
2020-07-13 11:42:41 +02:00
Henrik Rydgård 629edf9454 Merge pull request #13134 from twinaphex/master
(Libretro) Add custom GLEW - interfaces with libretro get_proc_address -
2020-07-13 11:39:14 +02:00
Unknown W. Brackets fc00b1b972 Kernel: Check thread switch PC in release.
Hopefully won't be noticeable, it's not that hot and very cheap.
2020-07-13 01:51:11 -07:00
Unknown W. Brackets ae224b3893 jit: Add some basic checks in armjit/arm64jit.
Just the simple (and unlikely) case so far...
2020-07-13 01:49:19 -07:00
Unknown W. Brackets b3bf61dde1 x86jit: Trigger exec exceptions.
A common case might be, you're hacking something in the game and you broke
the stack, so you `jr ra` into outer space.
2020-07-12 22:40:25 -07:00
Unknown W. Brackets 3c34c7c456 irjit: Add jump crash checks.
Doesn't seem to have any significant impact on performance.
2020-07-12 22:17:36 -07:00
Unknown W. Brackets d2ef6c561c UI: Allow non-ascii on crash dump screen.
It's not really dynamic so there's no reason to flag it.  That said, the
draw buffer's text drawing doesn't support this flag anyway.
2020-07-12 22:03:16 -07:00
Unknown W. Brackets 940066db68 Core: Track exception on bad jumps. 2020-07-12 21:59:08 -07:00