Herman Semenov
315340fc62
Using const reference for C++17 range-based loop and freq used objects
2023-12-13 17:33:01 +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
e62614498e
Buildfix mac (name collision with NO...)
2023-12-13 16:48:07 +01:00
Henrik Rydgård
caec201c4d
Make "Skip GPU readbacks" a multi-choice option, for easier experimentation by users
2023-12-13 16:18:44 +01:00
Henrik Rydgård
f8927df9a6
Load savestate screenshots in the background
2023-12-13 12:07:23 +01:00
Henrik Rydgård
32f5f081a2
Merge pull request #18537 from hrydgard/ui-image-refactor
...
UI image loading refactor
2023-12-13 09:03:29 +01:00
Henrik Rydgård
4710d57ecd
Default the new Android 60hz setting to "Request". Let's see how it goes, might be able to remove the ability to change it later.
2023-12-13 08:53:18 +01:00
Henrik Rydgård
2aca8fe3f9
Get rid of more unnecessary uses of ManagedTexture
2023-12-12 23:13:45 +01:00
Henrik Rydgård
4c3f82da55
Remove ManagedTexture from HttpImageView
2023-12-12 22:44:03 +01:00
Henrik Rydgård
75e96df448
Don't use ManagedTexture in GameInfoCache, not needed.
2023-12-12 22:34:31 +01:00
Henrik Rydgård
82bdc9ec50
Add CreateTextureFromFileData (without ManagedTexture)
2023-12-12 22:24:13 +01:00
Henrik Rydgård
d2e10a058e
Some renaming
2023-12-12 22:15:55 +01:00
Henrik Rydgård
8d0582659f
Merge pull request #18533 from hrydgard/tilt-fixes
...
Tilt: Bugfix, make the deadzone circular, in addition to the inverse (low end radius).
2023-12-12 18:27:18 +01:00
Henrik Rydgård
94fb81466f
Tilt: Make the deadzone circular, in addition to the inverse (low end radius).
2023-12-12 17:55:13 +01:00
Henrik Rydgård
a6d717cb39
Add option in dev tools to ask Android for 60hz display using Surface.setFrameRate
...
Might help #18514 and #18480 if we're lucky.
2023-12-12 15:30:39 +01:00
Henrik Rydgård
5763ec1b88
Move NativeQueryConfig into app-android.cpp
2023-12-12 09:56:33 +01:00
Henrik Rydgård
79ab67e3b2
Run-behind-pause: Fix some edge cases with the transparent background setting
2023-12-11 17:47:19 +01:00
Henrik Rydgård
25ab7b9170
Fix a bunch of edge cases
2023-12-11 15:58:08 +01:00
Henrik Rydgård
6e369e5188
Add play/pause button to the bottom right of the pause screen
2023-12-11 13:56:16 +01:00
Henrik Rydgård
8d8ff5886b
Fix issue where nothing had started a render pass when we wanted to clear the screen.
2023-12-11 13:06:15 +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
0ff0ad9140
Remove preRender/postRender methods from screens, in favor of a mode parameter.
2023-12-10 14:09:55 +01:00
Henrik Rydgård
22295a6412
Plumb through a ScreenRenderMode parameter
2023-12-10 13:05:17 +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
6645ddfa38
Merge pull request #18489 from hrydgard/memory-profiling-notes
...
Some changes and comments after running the memory profiler on Windows
2023-12-08 23:58:48 +01:00
Henrik Rydgård
d234fa24e6
Add progress bar (without %) to install/uninstall. Other fixes.
2023-12-08 16:16:28 +01:00
Henrik Rydgård
888b32e243
Store: Perform uninstalls on a background thread, to avoid hanging the UI
2023-12-08 16:16:26 +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
a22450320b
Some minor changes and comments after memory profiling
2023-12-08 12:22:12 +01:00
Henrik Rydgård
b22e27a537
Compat: Enforce "RequireDefaultCPUClock" by disabling overclocking for these games
...
Instead of just warning.
Fixes #12811
2023-12-07 14:06:41 +01:00
Henrik Rydgård
1f2dbfaf25
Vulkan: Allow MSAA on modern-ish mobile devices, but add a little warning sign.
...
MSAA on tiler GPUs, the way we use it (we are not able to eliminate
load/store operations yet) can consume huge amounts of bandwidth, so let's be a
little bit careful.
2023-12-03 20:59:15 +01:00
Henrik Rydgård
17c779cd8f
RetroAchievements: Display rich-presence messages on the pause screen
2023-12-03 17:21:14 +01:00
Henrik Rydgård
aed8bc6d7b
RetroAchievements: Finish the Challenge->Hardcore rename
2023-12-03 16:41:29 +01:00
Henrik Rydgård
5a972be7ef
Fix the display of uncompressed size of things that aren't ISO and CSO
2023-12-02 23:41:20 +01:00
Henrik Rydgård
3621529df9
Debug: Add quick "Framebuffer List" overlay.
2023-12-02 14:07:31 +01:00
Henrik Rydgård
b629c99dbf
Change "Challenge Mode" to "Hardcore Mode", according to RetroAchievements guidelines
2023-11-30 18:11:03 +01:00
Henrik Rydgård
a9c1bc2ce7
Add translation string, show uncompressed size if different from disk size
2023-11-27 01:11:43 +01:00
Henrik Rydgård
55fdeb93ff
Change GameScreen layout so that the game time can fit
2023-11-26 21:58:21 +01:00
Henrik Rydgård
707670cfcf
Fix time tracking during pause
2023-11-26 19:49:21 +01:00
Henrik Rydgård
31c85ae0a5
Add the basics of a played-time tracker.
2023-11-26 19:15:38 +01:00
Lubos
4d61896403
OpenXR - Projection matrix on Quest 3 fixed
2023-11-21 23:07:58 +01:00
Henrik Rydgård
bd08fdd566
Forgot some cases where I need to enable save (but not load) state in challenge mode, if the option is set
2023-11-16 20:13:47 +01:00
Henrik Rydgård
4c315bacdf
RetroAchievements: Add option to allow saving, but not loading, in challenge / hardcore mode.
...
This has been requested many times and is useful for development, so
let's simply allow it. It doesn't enable cheating for achievemenst since
you still can't load these states in challenge mode.
2023-11-14 22:54:39 +01:00
Henrik Rydgård
2910303d20
Clean up the checks for triangle-button-for-info on the main screen
2023-11-13 12:49:08 +01:00
Henrik Rydgård
802bae6ee8
Fix minor perf problem in debug mode, navigating long game lists.
...
InputMappingToPspButton is very slow and was called once per item.
2023-11-13 12:47:28 +01:00
Henrik Rydgård
d4833b72b1
Fix the last place where we were processing UI input events on the wrong thread
2023-11-11 11:21:36 +01:00
Henrik Rydgård
25ab1206b5
Fix stepping of tilt low end radius setting. Add some asserts.
2023-11-06 18:33:05 -06:00
Henrik Rydgård
c5469c409a
Add specific sysprop for accelerometer
2023-11-06 18:33:01 -06:00