Commit Graph

736 Commits

Author SHA1 Message Date
Henrik Rydgård
1b158940ac PPSSPP UI: Implement password masking in popup text inputs 2024-09-26 11:32:51 +02:00
Henrik Rydgård
9699be2110 RetroAchievements: Cleanup better on login failure 2024-09-26 01:09:56 +02:00
Henrik Rydgård
77a58c0fb3 Command line parser: Improve an error message to mention the = requriement for some commands.
See issue #18857
2024-09-11 12:20:14 +02:00
Lubos
3154a5fac1 OpenXR - VR camera features on any platform 2024-08-07 09:25:12 +02:00
Henrik Rydgård
5939270d2c Log: Split out StdioListener from ConsoleListener, making the second Win32-only. 2024-07-21 13:55:40 +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
Henrik Rydgård
9a93a478d1 Fix smooth switching from Vulkan to GL 2024-05-23 14:37:12 +02:00
Henrik Rydgård
d21fef52ae Allow taking screenshots in the app menu 2024-05-10 21:10:11 +02:00
Henrik Rydgård
6575ba5487 Make screenshot notifications clickable (on platforms where it's possible) 2024-04-10 13:21:23 +02:00
Herman Semenov
9e126b5f00 Fixed possible accidental conversion memsize type to strict 32 bit 2024-04-02 19:03:12 +03:00
LunaMoo
90fd476acf Change based on feedback 2024-02-25 11:18:11 +01:00
LunaMoo
47b19eb24b Fix "Savestate Slot" string 2024-02-25 10:29:28 +01: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
a07a2e445b Fix event order and some logic. Can now change skip buffer effect while running in background. 2024-02-01 23:26:36 +01:00
Henrik Rydgård
0615ba3e54 Some paranoia and a comment 2024-01-29 00:54:18 +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
1f129b6dca Replace "ReadFileToString" with a few semantically clearer wrappers. 2024-01-25 09:55:54 +01:00
Henrik Rydgård
3b3373dde6 Add some test code for file systems. Discovered that delete on scoped storage is always recursive! Dangerous. 2024-01-22 11:54:41 +01:00
Henrik Rydgård
902b73698f Slight improvement to extra assert info (set special info on pause screen) 2024-01-18 23:00:43 +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
dc4f22d1a4 GameDB: Add a mutex, and load on demand instead. 2024-01-15 17:17:02 +01:00
Henrik Rydgård
dd15a1573d Add setting to configure simulated key-up delay for mouse wheel events 2023-12-20 11:39:37 +01:00
Henrik Rydgård
97e0f6dc94 Prepare for deferred waits 2023-12-18 17:15:56 +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
ce6b05174a Also call SendMouseDeltaAxis directly from NativeMouseDelta for lower latency. 2023-12-14 19:30:03 +01:00
Henrik Rydgård
d397635e49 Mouse input: Approximate the old smoothing function 2023-12-14 19:24:39 +01:00
Henrik Rydgård
7b0ee5440d Move the mouse event processing code out from NativeApp 2023-12-14 19:01:19 +01:00
Henrik Rydgård
812b1024f0 Move TouchTestScreen to DevScreens 2023-12-14 19:01:19 +01:00
Henrik Rydgård
af17112bf4 Expose --escape-exit and --pause-menu-exit to be set from the ini file
You can now set --escape-exit by setting `PauseExitsEmulator = true` in [General].
You can now set --pause-menu-exit by setting `PauseMenuExitsEmulator = true` in [General].
2023-12-13 17:12:48 +01:00
Henrik Rydgård
5763ec1b88 Move NativeQueryConfig into app-android.cpp 2023-12-12 09:56:33 +01:00
Henrik Rydgård
e8f70594a4 Implement running the game in the background on the pause screen. Fix some bugs. 2023-12-11 12:41:44 +01:00
Henrik Rydgård
6d51fbc1e6 Refactor UI background rendering. There's now a BackgroundScreen. 2023-12-10 22:26:46 +01:00
Henrik Rydgård
600fb7cc22 Minor cleanups 2023-12-10 12:37:35 +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
376db1f931 Remove the unused "front" draw2d buffer. Saves 1.5MB of RAM. 2023-12-08 12:29:24 +01:00
Henrik Rydgård
87ddb3f3b1 Add easy way to verify games against the Redump database, supplied as CSV. 2023-10-23 19:11:01 -05:00
Henrik Rydgård
ae0c1e88c3 Move the menu frame-rate throttling to NativeFrame
Now needed on Android since we added the ability to turn off vsync,
which caused the menu to burn battery by rendering too fast.
2023-10-04 16:57:06 +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
b3a2b7a35c Batch axis events coming into the ScreenManager 2023-09-29 11:10:32 +02:00
Henrik Rydgård
1a5d5452fe Batch axis events to the VR code 2023-09-29 11:10:32 +02:00
Henrik Rydgård
c28dc9e4f2 Pass in accelerometer readings using NativeAccelerometer instead of NativeAxis 2023-09-27 11:34:31 +02:00
Henrik Rydgård
3264209772 Add some missing locking in KeyMap.cpp.
Plus minor assert change and java null check.
2023-09-24 12:33:01 +02:00
Henrik Rydgård
cd79d120d8 Don't log warnings on missing RA login secret. Also don't even check unless a username has been set. 2023-09-06 10:34:32 +02: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
4b89fab91c NativeInitGraphics: Update core parameter pixel width/height (since we lose resized flag) 2023-08-30 23:42:13 +02:00
Henrik Rydgård
e40fbba02b Log global messages processed 2023-08-30 23:30:49 +02:00
Bashar Astifan
19d79b0a6c
Merge branch 'master' into configs-loading 2023-08-26 12:19:44 +04:00
Henrik Rydgård
1025bbcf89 Log level/type: Use enum class instead of the awkward namespace trick.
Just a small cleanup I've wanted to do for a long time.
2023-08-25 11:48:59 +02:00
Bashar Astifan
4e2652bd4b OSK support final update
- Renamed few functions to avoid confusion
- Now UI will report text (gotfocus, lostfocus), popup_closed to the frontend
- Both cases (DPad, Keyboard) covered
2023-08-24 06:33:36 +04:00
Henrik Rydgård
797f88bf31 Fix ordering problem with screenshots that was causing crashes.
Fixes #17781
2023-08-23 19:03:33 +02:00