Commit graph

778 commits

Author SHA1 Message Date
Henrik Rydgård
5f30793845 Refactor a little more. 2025-03-30 15:15:37 +02:00
Henrik Rydgård
088a02bfdb Cleanup a lot of the bootup state management. 2025-03-30 14:02:29 +02:00
Henrik Rydgård
ee90d2acc1 PSP boot: Move more of the startup process into the loading thread. Simplifies the code a bit. 2025-03-30 11:22:16 +02:00
Henrik Rydgård
9ae8691623 Fix FPS display regression 2025-03-29 11:16:33 +01:00
Henrik Rydgård
116f8cf3af Implement resetting from a popup menu on the pause menu. 2025-03-28 14:31:01 +01:00
Henrik Rydgård
7314a65cc5 Remove the "invalid_" state bool in EmuScreen 2025-03-28 11:11:28 +01:00
Henrik Rydgård
5fcf0c6276 Swap the Cancel and No functions in the assert dialog. Plus a function rename and some safety checks. 2025-03-25 00:01:14 +01:00
Henrik Rydgård
6efb758893 CHange the TabbedDialog create-tab API to allow for future lazy-loading 2025-03-23 22:48:57 +01:00
Henrik Rydgård
249281366e Use the new sceAtrac implementation by default
Inverts/renames the setting to allow going back to the old sceAtrac
implementation, to work around any compatibility issue.

Note that we can never delete the old implementation, old savestates
will still use it - can't convert an existing session.
2025-03-20 23:10:21 +01:00
Henrik Rydgård
d11f8609ea Add an easy way to break into the imdebugger from assert messageboxs ("No") 2025-03-19 14:22:02 +01:00
Henrik Rydgård
cef14adf67 Assorted logging fixes and cleanup 2025-03-18 13:48:12 +01:00
Henrik Rydgård
78e763b050 Restore the setting. 2025-03-18 09:36:32 +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
7853803e9b Allow binding Toggle touch controls to a touch button
What it says on the tin. Had to add a check so that touch-up events
don't re-enable them.
2025-02-25 13:21:09 -06:00
Henrik Rydgård
af92d56491 Move a bunch of non-time-critical virt-keys to the new safe processing 2025-02-24 15:57:38 -06:00
Henrik Rydgård
4b77cfd53b Add confirmation popup support on Exit App key
This adds a new mechanism so we can delay "vkey" events until the next
frame, making for safer code. Will move a bunch of the virtkeys to this
later.

Fixes #20020
2025-02-24 10:23:11 -06:00
Henrik Rydgård
31cf5771f4 Turn the break reason into an enum, fix some minor issues 2025-02-19 16:01:11 -06:00
Henrik Rydgård
1f7461bb70 When ImDebugger is active, shrink the display area to match the central node. 2025-02-19 11:00:20 -06:00
Henrik Rydgård
3d34c73484 ImDebugger: Add a visual focus indicator 2025-02-19 10:39:17 -06:00
Henrik Rydgård
863530fac8 Fix typo breaking next-slot keybinding.
Fixes #19981
2025-02-14 16:32:11 -06:00
Henrik Rydgård
dbfa865a4a ImGUI: Allow passthrough of mouse events clicking on the "desktop" 2025-02-14 12:20:39 -06:00
Henrik Rydgård
fcaf3daea9 Minor fixes, make the achievement volume independent again 2025-02-12 10:28:35 -06:00
Henrik Rydgård
aad3aa02e7 Upgrade the achievement sound volume setting to the new format 2025-02-12 10:23:26 -06:00
Henrik Rydgård
cf90b24431 Add UI volume setting (affecting navigation sounds and preview audio). Convert alt speed volume into a 100-step percentage. 2025-02-11 17:42:09 -06:00
Henrik Rydgård
acd5b24924 Complete CrossSIMD non-simd fallback (although buggy, it seems). Minor ARM64 opt. 2025-01-28 10:54:43 +01:00
Henrik Rydgård
662a889b16 Don't allow fast-forward to resume into run state 2025-01-23 14:36:04 +01:00
Henrik Rydgård
5d124d93f8 Make network connection detection (for pause screen purposes) a bit more strict. 2025-01-21 12:22:29 +01:00
Henrik Rydgård
9daa4eae5e ImDebugger: Send inputs to the game when no windows are focused (click the background) 2025-01-21 11:52:46 +01:00
Henrik Rydgård
59b1e20b75 Add a transparent indicator style, use it for alt speed popups 2025-01-20 20:48:05 +01:00
Henrik Rydgård
e19705d10b Add new mappable key to pause without the pause menu. Useful for reading text for example.
This re-uses debug break/resume, so you can also add it as a hotkey for
that.
2025-01-17 15:35:37 +01:00
Henrik Rydgård
f66ea2f63e Add a bunch of restrictions when online (no savestate, no speed control) 2025-01-13 19:33:48 +01:00
Henrik Rydgård
4072c8cd61 Hide the pause/play button on the pause screen if any network connected. 2025-01-13 19:33:48 +01:00
Henrik Rydgård
d58138c585 SDL: Enable KEY_CHAR processing when imgui is active 2025-01-09 14:41:39 +01:00
Henrik Rydgård
3e198c53b2 More include cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård
d861db8f26 Add utility window to view memory as pixels. Will be essential for debugging some things. 2024-12-15 18:53:07 +01:00
Henrik Rydgård
15b63aa812 Run the imgui processing early in the frame, only do the rendering late 2024-12-15 00:17:26 +01:00
Henrik Rydgård
60e244291a Enable a dockspace, so you can dock windows to the sides of the screen 2024-12-12 23:01:40 +01:00
Henrik Rydgård
4befbeac7c Move the dump playback mips code to Playback.cpp. Assorted cleanup. 2024-12-10 01:27:25 +01:00
Henrik Rydgård
080798b5dd Move out two more functions from Core.cpp. Clean up Windows includes 2024-12-08 12:12:02 +01:00
Henrik Rydgård
83af54950f Move more core-related stuff into Core.cpp/h 2024-12-08 11:54:58 +01:00
Henrik Rydgård
b3d08977d5 Delete unused code 2024-12-08 11:25:00 +01:00
Henrik Rydgård
9ed8d8871e Ge stepping without wait: Tex/Prim stepping works. Draw/Single have issues. 2024-12-05 00:36:48 +01:00
Henrik Rydgård
0df2a40487 Remove the "GPUInterface" base class. Not really useful, GPUCommon is pretty much the same thing. 2024-12-02 11:12:14 +01:00
Henrik Rydgård
96c4a10e8c Add two new core states, rename RUNNING to RUNNING_CPU and similar for stepping. 2024-12-01 21:04:21 +01:00
Henrik Rydgård
1df3b9b905 Add config save/load for imdebugger, move the imgui.ini to PSP/SYSTEM 2024-11-27 09:15:03 +01:00
Henrik Rydgård
20c4649963 Fix step over, other stepping issues 2024-11-25 19:02:17 +01:00
Henrik Rydgård
9801f4c810 Add "Rename function" functionality. Fix some input and stepping bugs. 2024-11-25 10:18:56 +01:00
Henrik Rydgård
8831d4bfe7 ImGui: Implement Shift/Ctrl/Alt modifier support 2024-11-25 00:23:28 +01:00
Henrik Rydgård
6dfc5ea9ef ImGui: Add TTF font support
We use the Roboto font that we're already shipping for now, although, we could
also support other fonts or have a setting.
2024-11-24 21:29:34 +01:00
Henrik Rydgård
194b2ce076 Ge Debugger: Add a framebuffer listing, along with some plumbing 2024-11-23 23:23:48 +01:00