Commit Graph

2889 Commits

Author SHA1 Message Date
Henrik Rydgård 12aba31f38 Delete the Running slow warning (but keep the one for software rendering) 2025-09-04 10:27:22 +02:00
Henrik Rydgård f2df336f79 Resolve #20746 by checking addresses harshly in MIPSAnalyst
By fixing up badly aligned addresses in HLESubscriber.cpp.

This should help eliminate any bad usage within PPSSPP itself, while
also keeping existing websocket code working.

Additionally, this makes some end addresses exclusive instead of
inclusive, which simplifies address math.
2025-09-03 20:32:19 +02:00
Henrik Rydgård 16e9c57f96 Delay initializing the Backend submenu until the last possible moment. 2025-09-01 09:46:33 +02:00
Henrik Rydgård 94b47498ab Windows: Remove special code for the help menu 2025-09-01 09:34:27 +02:00
Henrik Rydgård 21f25b5e57 Move the rest of input initialization to the input thread. Speeds up startup. 2025-08-31 20:21:03 +02:00
Henrik Rydgård 5751e202a5 Remove redundant .c_str() 2025-08-31 13:37:43 +02:00
Henrik Rydgård 7fe30d6f2d Fix OpenGL exit hang on Windows 2025-08-31 11:37:05 +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 3895bab1dc Fix more translation issues 2025-08-29 22:52:17 +02:00
Henrik Rydgård aaa4f9d72e Add websocket testing script 2025-08-26 10:26:35 +02:00
Henrik Rydgård 3e62157487 Fix some assorted static analysis warnings 2025-08-25 10:14:15 +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 c0b7ecc686 Refactor: Unify the Vulkan init info logic 2025-08-21 01:01:16 +02:00
Henrik Rydgård 87b155229f More work on the watch window 2025-08-15 22:36:05 +02:00
Henrik Rydgård d9b7e370f3 ImDebugger: Add initial implementation of a watch window 2025-08-15 21:58:32 +02:00
Henrik Rydgård b997b33d58 Change hardcoded F8 shortcut key to only work in debugger window. If desired, this can be manually re-mapped (as "Pause (no menu)") to restore the old functionality
Fixes #20676
2025-08-06 17:44:54 +02:00
Henrik Rydgård b445f59e36 D3D11: If debug layer requested but not available, try again without it. 2025-08-01 17:19:37 +02:00
Henrik Rydgård 79e0b86651 When disconnecting a pad, reset the axes too, not just the buttons. 2025-07-20 11:20:40 +02:00
Henrik Rydgård 152098e3f0 Windows: Add basic native support for Switch Pro controllers 2025-07-19 11:39:23 +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 06adf8e4eb Dualsense/dualshock: Control the LEDs
Set to blue on connect, turn them off on exit.

Makes it more obvious that these pads are connected and working.
2025-07-11 15:39:24 +02:00
Henrik Rydgård 92b7f0dba1 WASAPI: Improve logging and error handling.
Hopefully will finally fix #20540
2025-07-11 13:53:27 +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 a1cafa4301 Merge pull request #20613 from oltolm/win32
mingw64: fix Windows build
2025-07-10 23:05:57 +02:00
oltolm 43b7e5ee29 mingw64: fix Windows build 2025-07-10 22:48:44 +02:00
Henrik Rydgård f44b4e31e6 Merge pull request #20281 from NABN00B/atlas-symbols
Add handpicked symbols group to atlastool
2025-07-10 22:43:36 +02:00
Henrik Rydgård af883e8059 Merge pull request #20609 from oltolm/comptr
use ComPtr in WASAPIContext
2025-07-10 22:40:16 +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
oltolm 11d8f85bf4 use ComPtr in WASAPIContext 2025-07-09 22:54:58 +02:00
Henrik Rydgård 42b46e2098 If RetroAchievements' "Hardcore mode" is enabled, prevent debugger use
Fixes an easy way you could access the debugger windows.
2025-07-09 16:25:24 +02:00
Henrik Rydgård 5e55090e67 Windows: Fix a hang during shutdown, could leave behind a running process. 2025-07-09 12:13:18 +02:00
Henrik Rydgård 5a300120ab Windows: Remove the "inner" window
For historical reasons, we've actually displayed inside an inner window
completely covering the client area of the main window. This seems to be
entirely unnecessary so I'm just getting rid of it and using the main
window directly for everything.

Not expecting any noticable change, just a nice cleanup.
2025-07-09 11:32:18 +02:00
Henrik Rydgård 05d6b63f1c Merge pull request #20605 from hrydgard/more-minor-fixes
Fix strange edge case when switching to auto-frameskip from non-buffered rendering
2025-07-08 22:36:37 +02:00
Henrik Rydgård 2cebaa7509 Win32: Paint the window black earlier during startup 2025-07-08 15:08:19 +02:00
Henrik Rydgård e4c6f4e530 Merge pull request #20604 from hrydgard/minor-fixes
Fix some small UI regressions
2025-07-08 14:43:31 +02:00
Henrik Rydgård eadd32e00a Keycodes: Restore the old PrintScreen keymapping, fixing mistake from #19656
Fixes #20588
2025-07-08 14:03:04 +02:00
Henrik Rydgård a32c1a4671 Poll for new gamepads a bit less often, reduce logspam in debug mode 2025-07-08 11:03:17 +02:00
Henrik Rydgård fc09669ba7 Add DualSense support. Remove trying to support bluetooth devices (not reliable without more work) 2025-07-03 11:11:34 +02:00
Henrik Rydgård 2e1fdc4c78 Avoid sleeping the input thread if we don't have to. Improves latency slightly. Also fix mappings. 2025-07-03 09:41:03 +02:00
Henrik Rydgård 6b0e9b0989 Implement initial native DualShock/DualSense support 2025-07-03 09:41:03 +02:00
Nab 53ac90e824 Update buildatlas shell scripts 2025-07-02 20:26:22 +00:00
Henrik Rydgård f6aa92d635 More refactoring 2025-06-28 14:15:42 +02:00
Henrik Rydgård c311cb9fdf Delete WindowsHost.cpp/h 2025-06-28 14:02:12 +02:00
Henrik Rydgård 66785a724b Collect DInput devices in a meta device 2025-06-28 13:57:04 +02:00
oltolm 41e325475c fix mingw64 build and Clang warnings 2025-06-22 12:30:13 +02:00
Henrik Rydgård 5d98e02d9b Add more info about the output audio stream to System Information.
Plus another channel number fix
2025-06-19 01:20:16 +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 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