Commit Graph
447 Commits
Author SHA1 Message Date
Henrik Rydgård 236a0acf71 Minor tweaks 2026-02-06 11:37:09 +01:00
Henrik Rydgård 563fdb5d28 Fix bug with fullscreen in SDL (and do a drive-by fix in LaunchUrl) 2026-02-02 12:54:56 +01:00
Henrik Rydgård 9e7afa414c Buildfixes 2026-02-02 12:16:35 +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
Dmytro Kyshchenko 73e0bb651e Fix #20356 - Flatpak application doesn't close until controller is unplugged.
When the controller is connected SLD sends a lot of events (`SDL_JOYAXISMOTION` and etc.),
so PPSSPP is stuck in the loop to process these events. Fixed by duplicating the `if` statement
to check whether the quit was requested inside the loop.
2026-01-28 16:40:01 +02:00
Katharine Chui 59679e846a Fix #19398 , provide native window from sdl2 to eglCreateWindowSurface 2025-12-22 04:02:17 +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årdandGitHub b44c2799ee Merge pull request #20982 from Tolstoyj/mac-camera
Add macOS camera bridge and polish PSP camera emulation
2025-11-10 16:33:27 +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
Tolstoy Justin 673c1e76a9 Add macOS camera bridge and polish PSP camera emulation 2025-11-09 00:01:07 +00:00
Henrik Rydgård 042cf87248 Rework the present mode settings, refactor. 2025-10-20 21:28:38 +02:00
Henrik Rydgård 80bd32325c Move the present mode from the CreateInfo to InitSwapchain 2025-10-20 16:33:34 +02:00
Henrik Rydgård 7891d12c48 Fix references to icon files 2025-09-18 11:40:04 -06:00
Henrik Rydgård 380fa19d3c Another std::string_view change, buildfix 2025-08-31 15:24:33 +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
fp64 4bed8ac8c8 Fix more stdout on SDL
Followup to https://github.com/hrydgard/ppsspp/pull/20748
Now PPSSPPSDL outputs nothing to stdout during normal operation.
Didn't touch `printf`s `CocoaBarItems.mm`, though.
2025-08-29 21:52:08 +03:00
fp64 5a8e63714c Implement --help in SDL backend
This also changes bunch of logging from stdout to stderr.
Conventionally, intended output goes to stdout, and diagnostic
output to stderr. For a graphical application like PPSSPPSDL,
pretty much the only intended textual outputs are results of
`--help` and `--version`. The rest now mostly goes to stderr
(there are still few straggler `printf`s left).
2025-08-25 22:47:27 +03:00
Henrik Rydgård 6868bdee6f style fixes 2025-08-22 21:47:36 +02:00
fp64andGitHub 22bc1777a0 Update SDLGLGraphicsContext.h 2025-08-22 17:46:56 +03:00
fp64andGitHub afb57c786d Update SDLGLGraphicsContext.cpp 2025-08-22 17:36:58 +03:00
fp64andGitHub 65e44b8ec1 Update SDLMain.cpp 2025-08-22 17:32:55 +03:00
Henrik Rydgård c0b7ecc686 Refactor: Unify the Vulkan init info logic 2025-08-21 01:01:16 +02:00
Henrik Rydgård 5e05a6d0ac Get rid of some more backward Common/Core dependencies 2025-08-06 00:16:35 +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årdandGitHub b0df912935 Merge pull request #20550 from gooosedev/feature-ImMemView-KeyboardShortcuts
ImMemView: Refined the keyboard shortcuts.
2025-06-19 18:42:31 +02:00
gooosedev 854b9cce17 removed reset keybind in SDL/SDLMain.cpp
enabled search byte keybind in UI/ImDebugger/ImMemView.cpp
2025-06-19 18:24:54 +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 b75541b23f Disable the Cache full ISO in RAM feature on 32-bit builds 2025-06-13 20:59:22 +02:00
Henrik Rydgård 17385c6e3a SDL audio: Improve logging, don't auto-switch device during the first 3 seconds of execution 2025-06-09 11:57:14 +02:00
Henrik Rydgård 4edbc14025 Fix the background image selector on MacOS and Linux (with pfd)
Forgot that the backends need changes too, after I split out image file selection from the other types.
2025-05-27 23:04:18 +02:00
Henrik Rydgård f0b0457fea More minor fixes 2025-05-26 19:40:31 +02:00
Henrik Rydgård 2dbb54667d IAP work 2025-05-25 11:22:04 +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
Henrik Rydgård 486370852f Restrict SDL audio buffer setting to 128, 256, 512, 1024, 2048. UI improvmeents 2025-04-15 19:26:26 +02:00
Jamie BainbridgeandHenrik Rydgård 3d0ef8c6e1 SDL audio: Add config slider for audio samples
As described on Issue #12705 several users have problems with audio
popping, crackling, and distorion with different sample values.

Previous commit ece6edf reduced default samples from 1024 to 256 but
there does not seem to be an ideal value for all platforms.

Make the option configurable in Audio Backend Settings.

Signed-off-by: Jamie Bainbridge <jamie.bainbridge@gmail.com>
2025-04-15 18:18:42 +02:00
Henrik Rydgård a3d7344e1e Implement for Mac as well 2025-04-15 00:08:39 +02:00
Henrik Rydgård 0e429b74f1 ImGUI on SDL: Implement mouse cursor shape support 2025-04-10 22:54:12 +02:00
Henrik Rydgård 67dfbfe97e Add developer setting to prevent loading overlays (and other 'implicit' Vulkan layers) 2025-04-10 18:56:05 +02:00
Henrik Rydgård 670ff21529 Make the Vulkan init flags a proper enum class 2025-04-10 18:16:05 +02:00
Henrik Rydgård 5f8f40e592 Add file browser support on Linux through portable-file-dialogs 2025-03-29 08:43:30 +01:00
Henrik Rydgård b05d6171d4 Add a consistent feature check - only desktops get to use CacheFullISOInRAM. 2025-03-27 01:02:28 +01:00
Henrik Rydgård 6b23ce36cb Mac buildfix 2025-03-26 18:57:38 +01:00
Henrik Rydgård 1a1483478a Fix live resizing, implement setting on all platforms. 2025-02-20 17:14:59 -06:00
Henrik Rydgård 0a641e1b36 Assorted warning fixes, fix regression on Mac (save/load dialogs) 2025-02-20 15:47:06 -06:00
Henrik Rydgård 91360fee9b Have Native_UpdateScreenScale use the new g_display.Recalculate() 2025-02-20 15:47:02 -06:00
Henrik Rydgård 7d8c7dd70a macOS SDL: Set the metal layer resolution properly, remove DPI hacks.
Fixes #19183

Thanks to @schm1dtmac for the fix.

@shm1dtmac also mentions that this may have issues when moving the window between displays, but this should still be an improvement for most people.
2025-02-20 13:54:50 -06:00
Henrik Rydgård f206ed95eb Get rid of remains of support for non-square screen DPIs 2025-02-20 11:14:26 -06:00