Commit Graph

27417 Commits

Author SHA1 Message Date
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
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
Unknown W. Brackets
b071db9ec2 Core: Reset exception info on resume/reset.
If you restart the game, it shouldn't still have this (will only show if
you enter debugging, but still.)
2020-07-12 21:29:03 -07:00
Unknown W. Brackets
04c15c82c9 Kernel: Add a bit more thread info on crash. 2020-07-12 21:22:47 -07:00
Henrik Rydgård
daf0990692
Merge pull request #13092 from hrydgard/error-handling-improvements
Bad memory access handling improvements
2020-07-13 00:37:28 +02:00
twinaphex
f958ed5817 Add custom GLEW - interfaces with libretro get_proc_address -
we need this for compatibility with DRM/KMS and Wayland contexts -
otherwise we're limited to GLX context
2020-07-12 23:51:57 +02:00
Henrik Rydgård
406c06ccaf
Merge pull request #12972 from unknownbrackets/gl-step-debug
Label steps using GL debug groups
2020-07-12 23:27:09 +02:00
Henrik Rydgård
153f00041e
Merge pull request #12979 from unknownbrackets/android-size
Android: Request stable layout and update on focus
2020-07-12 23:25:55 +02:00
Henrik Rydgård
7d9be24c5f
Merge pull request #13131 from unknownbrackets/travis
Travis: Use the default macOS image
2020-07-12 23:21:56 +02:00
Unknown W. Brackets
f6dfd5bda8 Travis: Use the default macOS image.
We don't need to try to build and cache bottles since brew still supports
this version with new binaries.
2020-07-12 10:07:48 -07:00
Henrik Rydgård
80386ca191
Merge pull request #13130 from iota97/readme-link
Update v1.10.3 readme link
2020-07-12 18:49:12 +02:00
iota97
d81452c60c Update v1.10.3 readme link 2020-07-12 17:22:14 +02:00
Henrik Rydgård
1010a07f65 Expose more information on the crash screen (current kernel thread) 2020-07-12 16:47:53 +02:00
Henrik Rydgård
7dcd708fac Address some feedback 2020-07-12 15:25:27 +02:00
Henrik Rydgard
873c11d7f9 Draw a minimal crash dump on the emu screen after a caught crash. 2020-07-12 15:25:21 +02:00
Henrik Rydgård
a722dfe0fb Formalize "core excpetions" as a concept 2020-07-12 15:25:21 +02:00