Commit Graph
39166 Commits
Author SHA1 Message Date
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 dd909d36cc Osk: Draw shadows on all the letters. 2020-07-13 18:24:05 -07:00
Unknown W. Brackets f16a6b8abd MsgDialog: Show better error messages.
I think the PSP really did just show error codes, but that's not a reason
to keep that confusion going.  For common save errors, let's show the
messages.

Some games, for example, simply show the no data found error when you play
for the first time and trigger anything to check for data.
2020-07-13 18:24:05 -07:00
Unknown W. Brackets 3daf536e3c MsgDialog: Allow text to be wider.
Our font is a bit different, let's add a bit more as long as the spacing
looks okay.  Reduce scale if there's a lot of non-ASCII, since the PSP's
font seemed to use smaller glyphs than ours for those chars.
2020-07-13 18:24:05 -07:00
Unknown W. Brackets b181a93e5e MsgDialog: Add scrollbar when message is long.
Some games hard wrap their messages, and PSP firmware also showed a
scrollbar.  Let's do the same.

One intentional difference: trying to ensure we always show part of a
hidden line to make it clear to the user that there's more text.
2020-07-13 18:24:05 -07:00
Unknown W. Brackets 3586128d8d PPGe: Draw nicer drop shadows.
Only when we have a text drawer for text, because it really adds up.
2020-07-13 18:24:05 -07:00