Commit Graph

828 Commits

Author SHA1 Message Date
Henrik Rydgård 8350f67332 Fix typos, minor translation updates 2026-02-04 01:34:26 +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 51c3058cf6 Replace "ForceFullScreen" with a way to prevent specific settings from being saved. 2026-02-02 09:25:49 +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 38ebb9d729 Set a few defaults automatically as a proof-of-concept (to reduce duplication)
See #18888
2026-01-05 19:03:43 +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 b8fced5b41 Path code cleanup, move some UI code (#21037)
* Move a bunch of path logic into Core/Util/PathUtil.cpp/h

.

* Move GameImageView out from SaveDataScreen

* More cleanup, add a translation string
2025-11-25 00:44:24 +01:00
Henrik Rydgård 412c746179 Add tilt (accelerometer) input support for DualSense controllers on Windows 2025-11-09 23:11:20 +01:00
Henrik Rydgård be34e45536 Clean up language switching code slightly, add (disabled) shortcut to randomize for testing.
Remove background color from some titles.
2025-11-09 16:26:58 +01:00
Henrik Rydgård 582c2e28ca Same for Qt 2025-11-09 08:52:21 +01:00
Henrik Rydgård bf5ded9c02 Fix font loading for the UWP backend, although wacky rendering issues remain 2025-11-09 08:52:21 +01:00
Henrik Rydgård 4283e66a12 Font style rework: Windows part 2025-11-09 08:52:21 +01:00
Henrik Rydgård 6d1973edfb Add banners on the top of settings pages, if editing game-specific settings show the icon. 2025-11-09 08:51:41 +01:00
Henrik Rydgård 9155de3358 Make the old behavior that the UI shrinks if the window is small optional. New hidden setting [General]/ShrinkIfWindowSmall 2025-11-06 23:44:55 +01:00
Henrik Rydgård 67010ff2af Split the display layout config between landscape and portrait orientations 2025-11-05 12:49:51 +01:00
Henrik Rydgård 2b9f2672bb UI screens header cleanup 2025-10-29 00:15:41 +01:00
Henrik Rydgård 69aa84e3b0 Split out the backgrounds and base screen classes from MiscScreens.h 2025-10-29 00:02:43 +01:00
Henrik Rydgård c29eb5097b Use the more accurate sleep function in the UI throttling 2025-10-21 12:11:23 +02:00
Henrik Rydgård 7cc4a0f3a3 Add more accurate sleep function (well, not more accurate on Windows unfortunately) 2025-10-21 12:11:23 +02:00
Henrik Rydgård 042cf87248 Rework the present mode settings, refactor. 2025-10-20 21:28:38 +02:00
Henrik Rydgård 176c55da25 Remove unused "interval" concept from presentation mode 2025-10-19 18:18:06 +02:00
Henrik Rydgård b082e94edb Initial work on using premultiplied alpha in the UI 2025-10-16 11:07:05 +02:00
Henrik Rydgård 63f9fb73be Split out the atlas code from Theme.cpp into UIAtlas.cpp 2025-09-18 10:54:48 -06:00
Henrik Rydgård 52c4c31508 Runtime atlas generation 2025-09-17 09:49:54 -06:00
Henrik Rydgård 2bab844852 Do the loading of the atlas texture and metadata together. 2025-09-15 14:32:23 -06:00
Henrik Rydgård daa593bdcb Invert the relationship for loading atlas textures 2025-09-15 12:42:11 -06:00
Henrik Rydgård e78341b822 Hide theme behind an accessor (so we can expose it only as const) 2025-09-15 09:31:18 -06:00
Henrik Rydgård b472eb8b8b Remove a lot of unnecessary string constructors 2025-08-31 15:49:29 +02:00
Henrik Rydgård 380fa19d3c Another std::string_view change, buildfix 2025-08-31 15:24:33 +02:00
Henrik Rydgård 3056e977cc Misc 2025-08-31 13:37:59 +02:00
Henrik Rydgård 9218fe9b59 Rework the shutdown logic in the OpenGL backend. Eliminated race conditions. 2025-08-31 10:57:06 +02:00
Henrik Rydgård b813a6c30f Logging improvements 2025-08-31 00:59:51 +02:00
Henrik Rydgård b4bd111379 Oops, left a test value behind in the frame rate check 2025-08-21 15:02:12 +02:00
Henrik Rydgård 7746c2754f Launch the display settings window if the notification is clicked 2025-08-21 10:56:12 +02:00
Henrik Rydgård 474a5a1329 Warn the user if the desktop display refresh rate is set too low.
Thanks to Arethien on Discord for highlighting this problem.
2025-08-21 10:47:24 +02:00
Henrik Rydgård 9137eedb7b Windows/Vulkan: Correctly handle minimizing and restoring the window
We can't create a swapchain in this case but we still want emulation to
keep running. So we ditch the last renderpass in VulkanQueueRunner but
run all the rest (if PauseWhenMinimized isn't set).

Now works without any validation errors or hangs.
2025-07-18 20:01:48 +02:00
Henrik Rydgård a00c857b4b WASAPI: Try to ask the device for a stereo format if it has too many channels.
Also, add support for 16-bit audio (should be rare)
2025-07-11 09:41:08 +02:00
Henrik Rydgård 263d0b3983 SDL: Fix bug where the mouse got stuck in relative mode when mapping mouse inputs 2025-07-10 20:29:24 +02:00
Henrik Rydgård 0502d79c99 Remove the return value from NativeMix, correct mixing with other channel numbers than 2 2025-06-18 23:48:00 +02:00
Henrik Rydgård f595e83a44 Add computed buffer latency in ms to StereoResampler stats 2025-06-18 11:39:14 +02:00
Henrik Rydgård 6271af52e9 Add the new low-latency WASAPI backend. Implement audio device selection on Windows 2025-06-16 22:40:13 +02:00
Henrik Rydgård 61d6c95f0c More refactoring. Add the AudioBackend interface 2025-06-16 21:55:32 +02:00
Henrik Rydgård 990b74cc17 More audio refactoring 2025-06-16 18:48:53 +02:00
Henrik Rydgård a721a0b6dd Minor refactor 2025-06-16 18:29:38 +02:00
Henrik Rydgård e4254b9570 Add some small debug counters that can be sent out through the assert message on Android
To enable more understanding of how some crashes could happen.
2025-06-03 12:01:47 +02:00
Henrik Rydgård 65229026bb Add a checkbox to enable file logging from the UI, in developer settings.
Fixes issue #20372.

The file is written to PSP/SYSTEM/DUMP/log.txt by default, but you can
override from the command line if needed.
2025-05-25 18:54:30 +02:00
Henrik Rydgård d782382f28 Merge pull request #20385 from hrydgard/android-shortcut-fix
Android shortcut fix
2025-05-22 09:24:41 +02:00
Henrik Rydgård a36d3cf18d Logging improvements / despam 2025-05-21 21:42:08 +02:00
Henrik Rydgård 9cf5d1bc25 Android: Enforce that there's never more than one instance of PpssppActivity, listen to onNewIntent.
Fixes shortcut-launch in-game. Although need to add some better handling
for the paused case.
2025-05-21 21:42:08 +02:00
Henrik Rydgård 09e067c6e1 Revert "Get rid of remains of support for non-square screen DPIs"
This reverts commit f206ed95eb.
2025-05-21 21:41:50 +02:00