Henrik Rydgård
2b9f2672bb
UI screens header cleanup
2025-10-29 00:15:41 +01:00
Henrik Rydgård
69aa84e3b0
Split out the backgrounds and base screen classes from MiscScreens.h
2025-10-29 00:02:43 +01:00
Henrik Rydgård
c29eb5097b
Use the more accurate sleep function in the UI throttling
2025-10-21 12:11:23 +02:00
Henrik Rydgård
7cc4a0f3a3
Add more accurate sleep function (well, not more accurate on Windows unfortunately)
2025-10-21 12:11:23 +02:00
Henrik Rydgård
042cf87248
Rework the present mode settings, refactor.
2025-10-20 21:28:38 +02:00
Henrik Rydgård
176c55da25
Remove unused "interval" concept from presentation mode
2025-10-19 18:18:06 +02:00
Henrik Rydgård
b082e94edb
Initial work on using premultiplied alpha in the UI
2025-10-16 11:07:05 +02:00
Henrik Rydgård
63f9fb73be
Split out the atlas code from Theme.cpp into UIAtlas.cpp
2025-09-18 10:54:48 -06:00
Henrik Rydgård
52c4c31508
Runtime atlas generation
2025-09-17 09:49:54 -06:00
Henrik Rydgård
2bab844852
Do the loading of the atlas texture and metadata together.
2025-09-15 14:32:23 -06:00
Henrik Rydgård
daa593bdcb
Invert the relationship for loading atlas textures
2025-09-15 12:42:11 -06:00
Henrik Rydgård
e78341b822
Hide theme behind an accessor (so we can expose it only as const)
2025-09-15 09:31:18 -06:00
Henrik Rydgård
b472eb8b8b
Remove a lot of unnecessary string constructors
2025-08-31 15:49:29 +02:00
Henrik Rydgård
380fa19d3c
Another std::string_view change, buildfix
2025-08-31 15:24:33 +02:00
Henrik Rydgård
3056e977cc
Misc
2025-08-31 13:37:59 +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
Henrik Rydgård
b813a6c30f
Logging improvements
2025-08-31 00:59:51 +02:00
Henrik Rydgård
b4bd111379
Oops, left a test value behind in the frame rate check
2025-08-21 15:02:12 +02:00
Henrik Rydgård
7746c2754f
Launch the display settings window if the notification is clicked
2025-08-21 10:56:12 +02:00
Henrik Rydgård
474a5a1329
Warn the user if the desktop display refresh rate is set too low.
...
Thanks to Arethien on Discord for highlighting this problem.
2025-08-21 10:47:24 +02:00
Henrik Rydgård
9137eedb7b
Windows/Vulkan: Correctly handle minimizing and restoring the window
...
We can't create a swapchain in this case but we still want emulation to
keep running. So we ditch the last renderpass in VulkanQueueRunner but
run all the rest (if PauseWhenMinimized isn't set).
Now works without any validation errors or hangs.
2025-07-18 20:01:48 +02:00
Henrik Rydgård
a00c857b4b
WASAPI: Try to ask the device for a stereo format if it has too many channels.
...
Also, add support for 16-bit audio (should be rare)
2025-07-11 09:41:08 +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ård
0502d79c99
Remove the return value from NativeMix, correct mixing with other channel numbers than 2
2025-06-18 23:48:00 +02:00
Henrik Rydgård
f595e83a44
Add computed buffer latency in ms to StereoResampler stats
2025-06-18 11:39:14 +02:00
Henrik Rydgård
6271af52e9
Add the new low-latency WASAPI backend. Implement audio device selection on Windows
2025-06-16 22:40:13 +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
a721a0b6dd
Minor refactor
2025-06-16 18:29:38 +02:00
Henrik Rydgård
e4254b9570
Add some small debug counters that can be sent out through the assert message on Android
...
To enable more understanding of how some crashes could happen.
2025-06-03 12:01:47 +02:00
Henrik Rydgård
65229026bb
Add a checkbox to enable file logging from the UI, in developer settings.
...
Fixes issue #20372 .
The file is written to PSP/SYSTEM/DUMP/log.txt by default, but you can
override from the command line if needed.
2025-05-25 18:54:30 +02:00
Henrik Rydgård and GitHub
d782382f28
Merge pull request #20385 from hrydgard/android-shortcut-fix
...
Android shortcut fix
2025-05-22 09:24:41 +02:00
Henrik Rydgård
a36d3cf18d
Logging improvements / despam
2025-05-21 21:42:08 +02:00
Henrik Rydgård
9cf5d1bc25
Android: Enforce that there's never more than one instance of PpssppActivity, listen to onNewIntent.
...
Fixes shortcut-launch in-game. Although need to add some better handling
for the paused case.
2025-05-21 21:42:08 +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
a698486f9c
Savestate: The callback is already an std::function, so no cbUserdata value is needed.
2025-05-16 01:55:15 +02:00
Henrik Rydgård
751e4fad2e
Move more of GPU init to the loader thread. Some log cleanup.
2025-05-15 11:43:37 +02:00
Henrik Rydgård
50b604e010
Log fixes
2025-04-15 14:29:40 +02:00
Henrik Rydgård
a3d7344e1e
Implement for Mac as well
2025-04-15 00:08:39 +02:00
Henrik Rydgård
60a19016ae
Split out DeveloperToolsScreen from GameSettingsScreen.cpp
2025-04-09 13:13:08 +02:00
Henrik Rydgård
370a521381
Move UPnP init/shutdown to app init/shutdown instead of game init/shutdown
2025-04-07 16:46:04 +02:00
Henrik Rydgård
cf059ff84c
Stub a lua console, add the sol lua wrapper library
2025-03-27 08:59:37 +01:00
Henrik Rydgård
e5d00ce493
Fix startup on Android, oops
...
Forgot that we can't create android-compatible threads in global
constructors, for JNI reasons.
2025-03-27 01:58:53 +01:00
Henrik Rydgård
d8f82b5875
Minor cleanup
2025-03-25 16:45:43 +01:00
Henrik Rydgård
6a71cbee79
Speed up screenshot filename generation (checking for existing files more efficiently)
2025-03-20 20:48:55 +01:00
Henrik Rydgård
b421c0791f
Perform screenshot processing (including image encode) on background tasks
2025-03-20 20:48:51 +01:00
Henrik Rydgård
cb1df4056c
Remove almost-empty files ThreadPools.cpp/h
2025-03-20 17:21:20 +01:00
Henrik Rydgård
cef14adf67
Assorted logging fixes and cleanup
2025-03-18 13:48:12 +01:00
Henrik Rydgård
5549fddae5
Touch control layout screen: Resize the game image to fit the editing surface
...
Makes it easier to place controls properly.
Note, if you have disabled "Transparent UI background" in settings, this
won't do much.
This is a long-requested feature: #16228
2025-03-05 18:00:49 +01:00
Henrik Rydgård
4989ec61d9
BreakpointManager: Safer and simpler updates.
2025-03-03 13:59:42 +01:00