Commit Graph

375 Commits

Author SHA1 Message Date
Henrik Rydgård
c3f291e9fe Fix for possible overflow in the resampler (can prevent some audio clicks)
Comment fixes
2024-09-04 12:56:15 +02:00
Henrik Rydgård
d6b4a76e98 Add Copy button for calculated CRCs on game info screen 2024-09-02 22:48:47 +02:00
Henrik Rydgård
96c4ae4457 TimeUtil: Minor cleanup, add precise_sleep() 2024-07-26 11:25:58 +02:00
Henrik Rydgård
35ad5f95f2 Minor cleanup 2024-07-23 21:59:23 +02:00
Henrik Rydgård
d4aafa3555 Fix crash showing the Achievements screen.
Fixes #19353, thanks Kelvfimer
2024-07-22 10:19:07 +02:00
Henrik Rydgård
04c4f7b25a Add ifdefs to try to be compatible with old SDL versions 2024-07-17 22:04:32 +02:00
Henrik Rydgård
9f1f75ddab Refactor: Merge the ChooseDevice function into CreateDevice 2024-07-17 10:31:49 +02:00
Henrik Rydgård
cb9c230e4e Valgrind: Add suppression file to be able to use Valgrind on PPSSPP in WSL2 on Windows 2024-07-16 19:52:00 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
sandboxgamedev123
2283f92832
Update PPSSPPSDL.desktop 2024-06-21 17:14:48 -04:00
Henrik Rydgård
c14a9f7fbe
Merge pull request #19229 from sandboxgamedev123/master
Update and rename PPSSPP.desktop as well as add PPSSPPSDL.desktop for Linux AppImages
2024-06-19 23:11:23 +02:00
sandboxgamedev123
9d610b8cc2
Add files via upload 2024-06-19 16:23:19 -04:00
Henrik Rydgård
1f8a0add22 Make some more obscure SDL buttons mappable 2024-06-19 21:06:27 +02:00
Henrik Rydgård
8e1218976d Fix wrong function signature in iOS file picker, also a lifetime issue 2024-06-01 12:31:12 +02:00
Henrik Rydgård
2c50f82b5b SDL: Switch to SDL_WaitEventTimeout instead of SDL_PollEvent when possible.
Fixes #19131
2024-05-28 19:06:00 +02:00
Henrik Rydgård
fb8f8ca52f SDL: Allow --xres and --yres to work even if a config file exists 2024-05-20 10:04:11 +02:00
Henrik Rydgård
90f7a90aa8 More build work 2024-05-20 10:04:11 +02:00
Henrik Rydgård
616ee81f84 Add another parameter to the internal "request" framework. 2024-04-06 12:04:45 +02:00
Henrik Rydgård
5a8140c301 Initialize RAIntegration support if available. Untested. 2024-04-05 18:15:10 +02:00
Henrik Rydgård
bf10671a5d SDL: Make rightclicks work just like in Windows
Which is very weirdly, but easier to make it work the same than to clean
it up, that's for later.

This fixes rightclicking games on the main menu.
2024-04-04 23:25:22 +02:00
Henrik Rydgård
c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård
cb89dff10f SDL: Remove unnecessary sleeps in the SDLMain loop (we now handle it in NativeFrame) 2024-01-27 11:30:29 +01:00
Henrik Rydgård
f77adec8af Unrelated, but return true to SYSPROP_HAS_KEYBOARD in SDL. 2024-01-20 11:23:58 +01:00
Henrik Rydgård
b899a178bf Change approach (call from NativeFrame instead). Add Mac support 2024-01-18 18:21:12 +01:00
Henrik Rydgård
0caebbfaa6 Add a way to pass out error messages from VulkanLoad 2024-01-15 11:22:33 +01:00
Henrik Rydgård
9c9fe8bf8f Add string_view functionality to the core utf-8 parsing code 2024-01-12 14:03:02 +01:00
Henrik Rydgård
818471a2d7 Mouse wheel: Centralize the sending of KEY_UP events on a timer. 2023-12-17 19:40:59 +01:00
Henrik Rydgård
db4993bfdc Implement full support for mouse input on Android
The smoothing algorithm changed a bit now that I centralized that logic
in a way that can work with all backends.
2023-12-10 09:52:19 +01:00
Henrik Rydgård
4be1706876 SDL: Add axis event deduplication
We now do this in the backedns instead of centrally since on some backends this is more efficient.
2023-11-16 09:20:40 +01:00
Henrik Rydgård
c5469c409a Add specific sysprop for accelerometer 2023-11-06 18:33:01 -06:00
Henrik Rydgård
c0e5da02ff Buildfixes 2023-09-30 12:06:07 +02:00
Henrik Rydgård
19e4de5088 Change global UI messages to use an enum instead of strings.
Makes it easier to add new ones and delete outdated ones without missing
any uses.
2023-09-30 11:37:02 +02:00
Henrik Rydgård
0b15d7d153 Add remaining functionality to the waiting SDL mainloop 2023-09-29 19:35:16 +02:00
Henrik Rydgård
b8baff712b Move the menu frame timing to the emuthread, fix hang on change backend 2023-09-29 19:18:48 +02:00
Henrik Rydgård
da801033f5 SDL: Use an "EmuThread" for Vulkan, send input event asynchonously from main thread 2023-09-29 19:10:51 +02:00
Henrik Rydgård
abdfe74c94 Extract UpdateSDLCursor() 2023-09-29 19:02:34 +02:00
Henrik Rydgård
66fdb86eff remove g_frameCount, unnecessary GetKeyboardState call 2023-09-29 19:02:08 +02:00
Henrik Rydgård
d9e9bde596 Vulkan: Fix disabling VSync on SDL platforms that support IMMEDIATE but not MAILBOX
Fixes #18084
2023-09-06 18:46:19 +02:00
Henrik Rydgård
42741430bc
Merge pull request #18056 from fp64/sdl-ctrl-w
Implement Ctrl-W and Ctrl-B on SDL
2023-09-03 12:01:29 +02:00
fp64
77baa4e89b Implement Ctrl-W and Ctrl-B on SDL
Closes #18052.
2023-09-02 18:47:37 -04:00
Henrik Rydgård
80a99a67d9 Control: Change internal interfaces to batch-process input axis updates
These naturally come in bunches on many platforms like Android, so lay
some groundwork to also handle them in bunches to minimize locking in
the future.

Linux buildfix
2023-08-31 11:55:53 +02:00
Henrik Rydgård
3d0051f34b Fix enabling of native keyboard input on Switch 2023-08-30 18:14:17 +02:00
Henrik Rydgård
e8bb48f369 SDLMain: Correctly return true when SHOW_FILE_IN_FOLDER is actually supported 2023-08-28 14:03:28 +02:00
Henrik Rydgård
dfe187df1e Allow disabling HTTPS through the config file
Simply set:

```ini
[General]
DisableHTTPS = True
```

Added to help debug issue #17969
2023-08-24 21:28:30 +02:00
Henrik Rydgård
60492ae579 Make System_ShowFileInFolder a "request"
Also makes support queryable.

Lets us remove the dummy implementations.
2023-08-24 14:22:35 +02:00
Henrik Rydgård
1e757172a2 Buildfix 2023-08-23 21:19:47 +02:00
Henrik Rydgård
797f88bf31 Fix ordering problem with screenshots that was causing crashes.
Fixes #17781
2023-08-23 19:03:33 +02:00
Henrik Rydgård
5b76615463 Cleanup and more sensible defaults for current directory 2023-08-18 15:04:20 +02:00
Henrik Rydgård
5cc85d1df7 SDL: Actually pick the Vulkan device specified in the config. 2023-08-17 22:06:17 +02:00
Henrik Rydgård
50f4e4b1fd SDL buildfix 2023-08-14 11:02:29 +02:00