Commit Graph

893 Commits

Author SHA1 Message Date
Henrik Rydgård b64d7b217f Add a --root= command line argument to override what host0: is mounted to.
Fixes #20191
2026-01-06 20:41:35 +01:00
Henrik Rydgård 18a67b82d2 Do the same with KeyInputFlags. Fix minor UI misalignments 2025-12-19 13:41:58 +01:00
Henrik Rydgård 481d0fd18c Switch TouchInputFlags to enum class, fix some minor UI issues
Scroll views now only wheel-scroll if the mouse is hovering over them.
2025-12-19 11:38:56 +01:00
Henrik Rydgård 7a8a642aed Convert the pause button to a normal customizable touch screen button 2025-11-25 15:47:05 +01:00
Henrik Rydgård 04f9cd2c32 Correct the positioning of the PIC0.png while loading a game if dpi != 1.0 2025-11-22 16:06:42 +01:00
Henrik Rydgård defd21cc90 Android: Rework UI insets handling (#21007)
* During game load, place the loading screen where the game will appear

* Android: Merge NativeActivity into PpssppActivity

* Rework window insets handling on Android

* Main screen: Display the path on its own line in portrait mode

* Make the "Fullscreen" setting on Android separate between portrait and landscape
2025-11-16 10:43:58 +01:00
Henrik Rydgård 8052c15f61 Fix references to the old font files 2025-11-14 10:10:44 +01:00
Henrik Rydgård 4f91d7a71a More layout work, more use of MessagePopupScreen instead of PromptScreen 2025-11-10 15:23:29 +01:00
Henrik Rydgård 9de8e75709 AnchorLayout: Allow centering separately for horizontal and vertical 2025-11-10 12:10:08 +01:00
Henrik Rydgård a183420a87 Orientation-specific defaults 2025-11-05 21:46:38 +01:00
Henrik Rydgård 063c7d4f7e Get separate touch screen config for portrait working 2025-11-05 21:01:37 +01:00
Henrik Rydgård 67010ff2af Split the display layout config between landscape and portrait orientations 2025-11-05 12:49:51 +01:00
Henrik Rydgård e2e4ceb525 Fix UI alignment problem on pause screen 2025-11-04 11:06:06 +01:00
Henrik Rydgård e7a9a10aac Fix issue with hiding certain notifications when not in-game (should be per type, not per edge) 2025-10-29 13:39:34 +01:00
Henrik Rydgård 2b9f2672bb UI screens header cleanup 2025-10-29 00:15:41 +01:00
Henrik Rydgård 42a44e4243 Improve inset handling 2025-10-28 14:54:28 +01:00
Henrik Rydgård 7266595bc4 Make filename and I_ identifiers match 2025-09-18 11:15:50 -06:00
Henrik Rydgård 58456ae950 Remove the UI::EventReturn return values. Makes editing the UI nicer. 2025-09-15 11:09:00 -06:00
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