Commit Graph
2896 Commits
Author SHA1 Message Date
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 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 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 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
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 82bc6f6cc5 Windows ARM fix, cleanup 2020-07-14 13:47:25 +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 Rydgård 236cb57224 More info on crash screen 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 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
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
Henrik Rydgård 1010a07f65 Expose more information on the crash screen (current kernel thread) 2020-07-12 16:47:53 +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
Henrik Rydgård efc3f4f5e4 Split CORE_ERROR into CORE_BOOT_ERROR and CORE_RUNTIME_ERROR 2020-07-12 15:25:20 +02:00
Henrik Rydgård 2e19d7aa0a Touch control layout screen: Make the expanded click zone around the controls symmetrical.
Just a minor tweak.
2020-07-12 10:39:25 +02:00
iota97 23f7f27c45 Fix decimal part 2020-07-12 09:47:44 +02:00
Henrik Rydgård 8e9061539f Touch control layout: Make dragging a lot less "jumpy" 2020-07-12 09:15:31 +02:00
Henrik Rydgård 1df9a84213 TouchControlLayoutScreen: Reorder functions in the file to make more sense. 2020-07-12 00:21:46 +02:00
Henrik Rydgård 1f7fcc1b5a Refactor TouchControlLayoutScreen - break out the actual editor into a separate view.
This solves most or all offset issues.
2020-07-12 00:21:30 +02:00
Henrik Rydgård 143d54aa12 Change wording of camera notch ignore setting 2020-07-06 23:43:55 +02:00
Henrik Rydgård 73046239e3 Android: Add option to ignore camera notches when sizing the display.
This is generally what you want, at least on phones with small notches.

Not sure about the most intuitive polarity and name of the setting.. bit
of a shame to create another setting with a negation. But most people
should probably ignore this.
2020-07-05 22:46:25 +02:00
Henrik Rydgård 177d697a15 Revert "Remove the I/O on Thread option - treat it as always on."
This reverts commit 9c40381db0.
2020-07-05 10:37:44 +02:00
Henrik Rydgård 3cc20e5550 Sneak in some paranoia in InstallZipScreen.cpp (another one from #13057) 2020-07-05 01:49:34 +02:00
Henrik Rydgård 5f57d4775f Add some excessive null checks to GameScreen::render(), might fix the crash seen in #13057 2020-06-29 22:47:34 +02:00
Henrik Rydgård df6f216056 Disable the "Duplicate frames" feature if frameskip != 0. Works around / Fixes #13068 2020-06-28 22:20:22 +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 8b98047502 Finish the Linux part of this change 2020-06-22 00:54:51 +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
vnctdj b0221a9064 Reuse some already translated strings
+ fix a typo
2020-06-20 23:48:11 +02:00
Henrik Rydgård 34a2713c3f Have DisplayLayoutScreen implemented insets manually. Gave up refactoring it. 2020-05-31 23:23:13 +02:00
Unknown W. Brackets 9064bbcad1 Windows: Move git-version update to build event.
Doing it on each project made it possible for two to overwrite each other.
It's rare, but this could corrupt git-version.cpp.

This makes it run when Core is resolved, and also on Windows/Headless only.
It may still require two compiles to update, but that's not a new problem.
2020-05-23 13:34:41 -07:00
Unknown W. Brackets 49abe9ed6c Io: Open sce_lbn references and whole ISO faster. 2020-05-21 18:58:24 -07:00
Henrik Rydgård fabe987c8f Add a name tag for all render steps (GL/Vulkan). Helps with debugging and should be cheap enough (a single pointer per "step"). 2020-05-21 11:24:05 +02:00
Henrik Rydgård 3a5e07ad4f Vulkan: Stencil initialization: Use the adreno path for Mali as well.
Appears to fix the Star Ocean issue and maybe more reported in #12890.

Strange though...
2020-05-19 23:29:33 +02:00
Henrik Rydgård 4e00a20c1f Show "debug build" on the splash screen, in debug builds. 2020-05-18 23:16:00 +02:00
Unknown W. Brackets dc7ee54110 UI: Take reporting screenshot at frame end.
If we do it mid frame, we need to rebind the backbuffer and reset
viewport/scissor.  Without viewport, Intel drivers crash.

Doing it at the end of the frame keeps the code simple, although we often
create views an extra time.

Fixes #12897.
2020-05-17 20:37:26 -07:00
Unknown W. Brackets cab31c0118 Merge pull request #12920 from hrydgard/remove-audio-resampling-setting
Remove the Audio Resampling setting (now always on).
2020-05-17 15:05:27 -04:00
Henrik Rydgård 2843b8ef5f Merge pull request #12486 from iota97/dpad
Rebindable touch right analog
2020-05-17 20:51:40 +02:00
Henrik Rydgård 90fd2d9e33 Remove the Audio Resampling setting (now always on). Having it off is not useful because it'll never sync up perfectly over time. 2020-05-17 19:00:48 +02:00
Henrik Rydgård 7a6489ebb4 Merge pull request #12905 from unknownbrackets/postshader
Allow chained post-processing shaders
2020-05-17 16:09:05 +02:00
Henrik Rydgård 9ed9468d72 Make the IsValidPBP DISC_ID check a bit more lenient. Fixes an issue where some homebrew would no longer show in the list. 2020-05-17 15:12:38 +02:00
Henrik Rydgård 7c8bcb2ee4 Fix homebrew store button to work even after changing grid layouts (it lost its click handler) 2020-05-17 14:57:12 +02:00
Henrik Rydgård 90071fd868 Fix a crash bug in homebrew store 2020-05-17 14:44:11 +02:00
Unknown W. Brackets cb739fc0b9 GPU: Allow each shader in chain to have settings.
It'll be up to the author to make the setting names make sense, though.
They'll show from first shader to last.
2020-05-16 12:33:35 -07:00
Unknown W. Brackets ff68a0d50f UI: Translate shader setting names.
Also, only save settings in ini that have names.
2020-05-16 12:33:35 -07:00