290 Commits
Author SHA1 Message Date
Henrik Rydgård 85f8715660 Break the circular dependency caused by putting EmuThread in core using an interface 2026-07-24 15:31:42 +02:00
Henrik Rydgård 86c8e9ae68 Minor code cleanup 2026-07-24 15:31:41 +02:00
Henrik Rydgård 2489f5c581 Some CMakeLists.txt reorganization, use EmuThread from SDL 2026-07-24 15:31:41 +02:00
Henrik Rydgård afe4d5beaf Buildfixes, dependency shuffling to make things more logical 2026-07-24 14:43:34 +02:00
Henrik Rydgård 240a974e95 Remove direct dependency from Core to MacCameraHelper.mm 2026-07-24 12:06:15 +02:00
Henrik Rydgård 16c7ec390f Headless: Start taking logic out of the "HeadlessHost"
Also update some agent files
2026-07-21 11:01:48 +02:00
Henrik Rydgård 9a2342b98e SDL buildfix, headless logic fix 2026-07-20 19:18:18 +02:00
Henrik Rydgård bd25962cbe Convert more options to the new command line parser 2026-07-20 16:33:03 +02:00
Henrik Rydgård e6875fa339 More cmdline work. 2026-07-20 16:33:03 +02:00
Henrik Rydgård 717ffc9fae Buildfixes 2026-07-20 12:02:07 +02:00
Henrik Rydgård a59637975a Call the new command line parser from all backends 2026-07-20 12:02:07 +02:00
Henrik Rydgård 79f6aa57e2 Remove some redundant code from SDL mousewheel handling.
Should help #21923
2026-07-16 00:39:34 +02:00
Henrik Rydgård 993c3a9c67 Avoid accurately computing disk space on iOS and Android (where it can be slow). Add a setting. 2026-07-14 22:22:29 +02:00
Henrik Rydgård 31aad51d68 Minor SDLMain fixes 2026-06-16 11:39:24 +02:00
Henrik Rydgård 6c85a1a4b6 More SDL3 work by AI 2026-06-16 11:39:24 +02:00
Henrik Rydgård 34c2218558 SDL3 port phase 1 2026-06-16 11:39:24 +02:00
Henrik Rydgård edcc0763cb Mac buildfix 2026-06-16 11:07:08 +02:00
Henrik Rydgård 84ca42271b Quickfix for Steam Deck keyboard issue: Ask SDL not to spawn one when we ask for text input 2026-06-16 10:57:55 +02:00
Henrik Rydgård bfadd2539b Some code hardening in TextEdit view 2026-04-27 20:55:46 +02:00
Guido Cella 4413c7b10f Implement pause on lost focus on SDL
This option was Windows exclusive and this commit implements it on SDL
as well.

It is hidden on mobile devices because it makes no sense there.
2026-04-01 15:39:34 +02:00
Henrik Rydgård 2b946094a9 Warning fixes 2026-03-10 12:19:27 +01:00
Henrik Rydgård d6ca0378b6 Move DarwinFileSystemServices.mm/h to Core/Util 2026-03-07 11:35:34 +01:00
Henrik Rydgård 2052ebc60c Fix switching of audio devices on Windows.
Fixes #21337
2026-03-04 14:41:59 +01:00
BearOso 0871d53d68 Prevent starvation of window state updates with Vulkan. 2026-02-24 22:18:07 -06:00
BearOso acbb715413 Fix fullscreen bugs in SDL port.
* It needs to check for both SDL_WINDOW_FULLSCREEN *and* SDL_WINDOW_FULLSCREEN_DESKTOP
  when looking at the SDL window flags.
* Display size wasn't used when starting with fullscreen enabled in the config file.

This resolves the problems with fullscreening and sdl2-compat.
2026-02-24 21:15:33 -06:00
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 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
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 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 7891d12c48 Fix references to icon files 2025-09-18 11:40:04 -06: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 65e44b8ec1 Update SDLMain.cpp 2025-08-22 17:32:55 +03: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