Commit Graph

893 Commits

Author SHA1 Message Date
Henrik Rydgård c984897b2e Minor cleanup, check 2025-05-13 12:13:12 +02:00
Henrik Rydgård 72c35c66fd Fix crash with Toggle WLan key 2025-04-30 11:50:47 +02:00
Henrik Rydgård e70602ddc8 Disable some controls on the pause screen if boot is pending 2025-04-30 11:50:43 +02:00
Henrik Rydgård ab8795e0c1 EmuScreen: Disallow exiting during game boot, this breaks in all sorts of exciting ways 2025-04-30 10:08:50 +02:00
Henrik Rydgård bebcec8314 EmuScreen: Clarify some logic, add some checks 2025-04-29 16:46:14 +02:00
Henrik Rydgård dbe6ec80a0 Fix some bad "for (auto x : y)" usage 2025-04-29 16:46:14 +02:00
Henrik Rydgård d9ed11b4c6 Don't call rc_client_do_frame when paused. 2025-04-28 11:53:28 +02:00
Henrik Rydgård 0f18f054ab Make the frame-time budget for uploading replacement textures take framerate into account 2025-04-22 20:19:43 +02:00
Henrik Rydgård 0a4ab19870 Quick workaround for #18926 2025-04-16 12:03:08 +02:00
Henrik Rydgård a4e6e84a0a Move achievement handling to EmuScreen and the main thread. Fixes black screen. 2025-04-09 18:07:13 +02:00
Henrik Rydgård f168aa3aee Some cleanup, make the DevTools LogView work slightly better. Though, it needs more work. 2025-04-09 11:58:31 +02:00
Henrik Rydgård c1ae455ce8 Fix ImDebugger cleanup on exit 2025-04-07 13:03:33 +02:00
Henrik Rydgård b27a022e7c Remove two states from the CoreState enum. 2025-04-05 09:18:56 +02:00
Henrik Rydgård 24b30cc709 Mostly remove coreState management from System.cpp 2025-04-05 09:18:56 +02:00
Henrik Rydgård 6961a9fc1a Fix resetting through the keyboard shortcut 2025-04-04 23:45:43 +02:00
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