Commit Graph

825 Commits

Author SHA1 Message Date
Henrik Rydgård 51d5e62f02 Remove the auto-translation of PromptScreen parameters, nearly all callers do this manually 2025-08-29 22:24:07 +02:00
Henrik Rydgård b5595ea450 Add simple imgui log window (just reads the short log ring buffer) 2025-08-29 00:04:54 +02:00
Henrik Rydgård 76fb535bec Allow binding "Pause (no menu)" to touch controls. Also makes controls stay visible when paused. 2025-08-27 08:54:13 +02:00
Henrik Rydgård 6c30bded38 Fix the touch event filtering to not filter out touch events in the case of mouse control being enabled
Problem reported by Haze, thanks!
2025-08-05 08:36:20 +02:00
Henrik Rydgård 3c6acf37dd Split loading of PIC0/PIC1 (don't need PIC0 most of the time) 2025-08-02 23:20:13 +02:00
Henrik Rydgård 5aa8156fd0 Fix assorted interaction problem with the chat menu
Fixes #20633
2025-07-20 11:04:11 +02:00
Henrik Rydgård 6f3133d1e9 Fix bad check preventing boot error messages from being shown 2025-07-18 09:35:25 +02:00
Henrik Rydgård 5f8ee93006 Use a TTF font for fixed-width text in the debugger
Fixes #20635
2025-07-16 20:20:33 +02:00
Henrik Rydgård f410b7e6ea Show a tiny indicator in the top left of the screen when the game is saving or loading. 2025-07-10 15:11:59 +02:00
Henrik Rydgård 58dd4677e3 Fix issue with toggling texture saving via shortcut.
Fixes #20581
2025-07-08 13:51:09 +02:00
Henrik Rydgård 6cfea96e58 Remove D3D9 support, to make future changes easier 2025-06-10 15:07:16 +02:00
Henrik Rydgård 611ac40d1e Fix "Emulation->Stop" on Windows. (still missing confirmation though) 2025-06-06 22:37:57 +02:00
Henrik Rydgård 11ad7db3cb Simplification in EmuScreen.cpp 2025-06-06 00:27:45 +02:00
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