Commit Graph

887 Commits

Author SHA1 Message Date
Henrik Rydgård 232ea1a8a1 Add a "hold" version of the axis swap toggle. Often more convenient.
This is useful for working around some annoying control schemes.

Fixes #21354
2026-03-05 23:05:35 +01:00
Henrik Rydgård e80c67df25 Fix check for top screen. Fixes a problem with input focus after game reset.
Reported by Flide, thanks!

However, there's some underlying bug in screen focus tracking, this just works around it by checking for top screen in a more reliable way.
2026-03-01 17:47:46 +01:00
Henrik Rydgård b04eadd11f PauseScreen: Fix bug where resetting the game caused us to ignore virtual key inputs 2026-02-28 12:03:01 +01:00
Henrik Rydgård 733aee685d Fix window resizing issue on pause screen 2026-02-24 00:56:45 +01:00
Henrik Rydgård 5dc169ecbe Fix more race conditions if you exit during game bootup 2026-02-24 00:56:45 +01:00
Henrik Rydgård 25392ef6fd Add a workaround for boot-up crashes caused by switching away from the app while waiting for the boot-up thread to finish 2026-02-24 00:56:45 +01:00
Henrik Rydgård 2264711600 Move the loading spinner a bit inwards to not get cut off by rounded corners 2026-02-18 14:49:08 +01:00
Henrik Rydgård eef760e923 EmuScreen: Move more virtual key processing to the synchronized switch 2026-02-17 23:07:46 +01:00
Henrik Rydgård d8ccea3ca0 Fix crash in crash screen (oops...) 2026-02-15 19:42:17 +01:00
Henrik Rydgård fa46bc25e7 Fix reporting screenshots, screen darkening in skipbuffer run-behind mode 2026-02-13 21:26:18 +01:00
Henrik Rydgård 1846163985 Replace Path::ToVisualString with GetFriendlyPath which shortens. Much better on iOS 2026-02-13 21:16:00 +01:00
Henrik Rydgård ae6ba469c1 Fix some more screenshot problems
Followup to #21249
2026-02-13 14:56:31 +01:00
Henrik Rydgård 386fc442a6 Rework the internal screenshot API, fix bug causing screenshotting to get stuck 2026-02-13 12:34:26 +01:00
Henrik Rydgård d446d1c26c Have the pausescreen listen to the control mapper, for the pause key 2026-02-12 23:43:49 +01:00
Henrik Rydgård 734b2a55de Move to a global controlmapper 2026-02-12 23:06:26 +01:00
Henrik Rydgård c5e257635f ControlMapper: Support multiple listeners 2026-02-12 23:01:46 +01:00
Henrik Rydgård a6ac956884 Input system refactor: Replace 5 callbacks with an interface 2026-02-12 22:52:16 +01:00
Henrik Rydgård f3c9b0cfeb Remove more uses of the ugly PromptScreen. 2026-02-12 13:37:45 +01:00
Henrik Rydgård e1b638aaab Minor UI tweaks 2026-02-11 23:33:39 +01:00
Henrik Rydgård 64fb8bfd79 Fix the ImDebugger 2026-02-11 09:36:39 +01:00
Henrik Rydgård d06e5733a5 Fix some reset crashes.
Part of #21223, reported in #21228
2026-02-09 19:01:18 +01:00
Henrik Rydgård 77815c51e5 Prevent cardboard from messing up the menu rendering
Part of #21223, reported in #21228
2026-02-09 19:01:06 +01:00
Henrik Rydgård a92ff89d5f Clean up the OSD click callback code 2026-02-09 13:08:44 +01:00
Henrik Rydgård d8b8a51309 Correct a bunch of edge cases, move some code around 2026-02-08 17:07:22 +01:00
Henrik Rydgård 2b6be8090c Cancel compatibility warning popups if you start another game in the meantime 2026-02-08 16:38:07 +01:00
Henrik Rydgård 1599ea7b1d SaveState: Separate screenshot operations from other ops 2026-02-08 16:11:44 +01:00
Henrik Rydgård 3aa1aba8f5 Correct an issue where there was a 1 frame latency in UI event processing 2026-02-08 12:44:12 +01:00
Henrik Rydgård eb234a1563 Finish the split. Greatly simplifies the render code in EmuScreen. 2026-02-08 10:46:16 +01:00
Henrik Rydgård f01aaeafb1 Split CopyDisplayToOutput in preparation for the next step 2026-02-08 01:06:32 +01:00
Henrik Rydgård 1078c27bb7 Prepare renderpass refactor 2026-02-08 00:53:50 +01:00
Henrik Rydgård 99f81c88e8 Some more UI fixes 2026-02-06 14:52:17 +01:00
Henrik Rydgård fc63096741 Make sure tilt control defaults to off. Show a warning if enabled. 2026-02-05 23:29:48 +01:00
Henrik Rydgård d6d2c24e24 Fix the toggle touch controls input (properly this time) 2026-02-05 09:44:42 +01:00
Henrik Rydgård f546dc3835 Add an Enable checkbox to tilt control, add mappable control
- Fixes #20830
2026-02-05 09:44:11 +01:00
Henrik Rydgård 7b1ba55e72 Prevent touch controls from fading away while being held.
Fixes #20531
2026-02-04 00:00:38 +01:00
Henrik Rydgård ad4da764df Rework the internal API for applying the fullscreen state. Fixes. 2026-02-02 11:45:46 +01:00
Henrik Rydgård db0a557590 Make it possible to have RetroAchievements enabled in a game config.
Fixes #21175
2026-01-30 09:43:31 +01:00
Henrik Rydgård 4fb3a0e370 Bubble up more error messages to the user 2026-01-29 00:25:25 +01:00
Henrik Rydgård 19a6232b48 Improve handling of the UMD VIDEO error case (no, we still don't support them) 2026-01-28 14:32:38 +01:00
Henrik Rydgård 24acce0f7c Make sure that resetting overrides auto load savestate
Fixes #21152
2026-01-23 23:39:56 +01:00
Henrik Rydgård c232867fba Correct functionality of the display rotation control rotation.
Fixes #19775

A future step might be to also rotate the touch screen inputs..
2026-01-23 01:18:58 +01:00
Henrik Rydgård 41ee923c8c See if this is enough to get debug symbols on Play 2026-01-18 00:13:10 +01:00
Henrik Rydgård 884d3c46d5 Rework listing of savestates - a single scan operation instead of lots of File::Exists and ModTime calls.
Needed to improve scalability on Android for when we increase the number
of states.
2026-01-09 11:17:21 +01:00
Henrik Rydgård 2959ad214c Fix the internal savestate API to better reflect how it actually works 2026-01-09 10:29:37 +01:00
Henrik Rydgård b64d7b217f Add a --root= command line argument to override what host0: is mounted to.
Fixes #20191
2026-01-06 20:41:35 +01:00
Henrik Rydgård 18a67b82d2 Do the same with KeyInputFlags. Fix minor UI misalignments 2025-12-19 13:41:58 +01:00
Henrik Rydgård 481d0fd18c Switch TouchInputFlags to enum class, fix some minor UI issues
Scroll views now only wheel-scroll if the mouse is hovering over them.
2025-12-19 11:38:56 +01:00
Henrik Rydgård 7a8a642aed Convert the pause button to a normal customizable touch screen button 2025-11-25 15:47:05 +01:00
Henrik Rydgård 04f9cd2c32 Correct the positioning of the PIC0.png while loading a game if dpi != 1.0 2025-11-22 16:06:42 +01:00
Henrik Rydgård defd21cc90 Android: Rework UI insets handling (#21007)
* During game load, place the loading screen where the game will appear

* Android: Merge NativeActivity into PpssppActivity

* Rework window insets handling on Android

* Main screen: Display the path on its own line in portrait mode

* Make the "Fullscreen" setting on Android separate between portrait and landscape
2025-11-16 10:43:58 +01:00