Henrik Rydgård
d5db1ab42a
Fix translation of buttons on crash screen
2025-06-01 15:10:19 +02:00
Henrik Rydgård
0b8f22afde
Unload Retroachievements before we shut down the emulated PSP instead of the opposite.
...
This makes the Unload message appear in logging with the new "log to file" setting.
2025-05-30 22:03:19 +02:00
Henrik Rydgård
6bed22e33e
Don't allow exiting the app (and a few more actions) while a game is booting
...
Creates nasty race conditions.
2025-05-29 15:56:29 +02:00
Henrik Rydgård
9bcbea745f
Oops, forgot to delete some debug logging
2025-05-25 23:03:05 +02:00
Henrik Rydgård
1be01aea52
rcheevos: Call rc_client_do_frame in the flip callback.
...
Also some minor cleanup of the AVI recording.
Should fix #20383
2025-05-25 22:21:37 +02:00
Henrik Rydgård
2dbb54667d
IAP work
2025-05-25 11:22:04 +02:00
Henrik Rydgård
d619510b8b
Drag-drop / shortcut launch fixes
2025-05-22 11:10:15 +02:00
Henrik Rydgård
e5d929d814
Cancel all popups when loading a new game during gameplay
2025-05-21 21:42:08 +02:00
Mark Zhuang
9e058078e3
EmuScreen: Fix compile error when enable USE_PROFILER
2025-05-21 14:03:05 +08:00
Henrik Rydgård
7efd604c25
Improve the MGS Acid 2 hack to fix the oil spill crash
...
Not really proud of this, but takes care of #20306 for now.
2025-05-16 19:22:37 +02:00
Henrik Rydgård
9a86101769
Avoid getting stuck in a load-loop when auto-loading a bad savestate. Make some code clearer.
2025-05-16 01:55:18 +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
dde3099d0c
Expose the hidden ShaderCache option in developer tools
2025-05-14 09:39:14 +02:00
Henrik Rydgård
ff37cbe184
Minor memory safety fixes
2025-05-14 09:39:09 +02:00
Henrik Rydgård
80147f318e
Remove PSP_CancelBoot, assorted cleanup
2025-05-13 13:58:28 +02:00
Henrik Rydgård
37712734e2
Avoid doing unnecessary UI work during shutdown, add a sanity check
2025-05-13 13:56:01 +02:00
Henrik Rydgård
9e0c98a87b
Simplify framestep logic
2025-05-13 12:13:15 +02:00
Henrik Rydgård
1ec9ba509e
Small refactor of vblank callbacks
2025-05-13 12:13:15 +02:00
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