Commit Graph

334 Commits

Author SHA1 Message Date
Henrik Rydgård 71533ac2b7 Trash handling is too high level for FileUtil, move it up. 2025-04-15 17:42:24 +02:00
Henrik Rydgård 69b2f7d9b6 Win32: Add a function to move files to trash instead of deleting them 2025-04-10 08:42:13 +02:00
Henrik Rydgård 5f8f40e592 Add file browser support on Linux through portable-file-dialogs 2025-03-29 08:43:30 +01:00
Henrik Rydgård b05d6171d4 Add a consistent feature check - only desktops get to use CacheFullISOInRAM. 2025-03-27 01:02:28 +01:00
Henrik Rydgård e70dd3b2df Break out AtracTrack into its own file. Add a little atrac analysis tool to ImDebugger (for future use) 2025-03-19 16:15:51 +01:00
Henrik Rydgård 3ab625a0fa Windows: Lock when updating the window title 2025-03-06 14:24:40 +01:00
Henrik Rydgård 87199bacaa Minor tweaks, comments and fixes 2025-03-06 13:37:38 +01:00
oltolm 02e767866a fix compiler warnings 2025-02-22 14:15:15 +01:00
Henrik Rydgård 74ee868cdb More confirmexit fixes 2025-02-17 16:20:41 -06:00
Henrik Rydgård fe19283c6e Fix main menu exit button on Windows 2025-02-17 16:20:41 -06:00
Henrik Rydgård 6c55a37a7e Correct some window-closing code on Windows. 2025-02-17 13:26:15 -06:00
Henrik Rydgård e98d481a63 Add support for displaying the battery percentage on Windows. 2025-02-12 11:07:24 -06:00
Henrik Rydgård 7006f01dc5 Merge pull request #19480 from oltolm/comptr_misc
use ComPtr for misc. things
2025-02-06 09:31:41 -06:00
Henrik Rydgård 82d3b17bf9 Add support for the modern Windows folder selector (the old one is too fiddly).
This applies to Browse... when selecting a folder on the games tab, and
more.
2025-01-27 11:38:12 +01:00
oltolm 5c1412f84d use ComPtr for misc. things 2025-01-17 18:06:24 +01:00
oltolm 9566065455 make compile on mingw-w64 2025-01-11 01:25:27 +01:00
Henrik Rydgård 3ffff831c7 Refactor LogManager (remove GetInstance()). In headless, add option to log to OutputDebugString on Windows. 2024-12-03 21:39:42 +01:00
Henrik Rydgård 3d960d23ea Avoid a couple of unnecessary Exists checks 2024-11-28 15:02:26 +01:00
Henrik Rydgård 4e9e767e41 Enable early logs on Windows (just stuff them in the thread queue) 2024-11-28 15:02:25 +01:00
Henrik Rydgård 47d8e292eb ImDebugger: Add basic filesystem browser. Add partial support for "save file dialogs" to System. 2024-11-25 23:03:15 +01:00
Henrik Rydgård 5598228462 Better notification mechanism to scroll the disasm window after step 2024-11-03 17:54:55 +01:00
Henrik Rydgård bd8905aa44 Avoid crashing on PSX EBOOTs renamed to ISO (people try strange things...) 2024-10-25 15:20:08 +02:00
Henrik Rydgård f020d1d815 Windows inputbox: Add flags field, delete dupe code, add ability to mask passwords 2024-09-26 10:48:31 +02:00
Bashar Astifan b015225bf6 Adding SYSPROP_SYSTEMBUILD
Using `SYSPROP_SYSTEMVERSION` is bad idea since it's set under `Available as Int`, instead I just added `SYSPROP_SYSTEMBUILD`
2024-09-03 20:42:34 +04:00
Bashar Astifan f1771b9474 OS Version UWP, Win32 2024-09-03 20:07:57 +04:00
Bashar Astifan b235d4b218 OS Version preview 2024-09-03 15:58:35 +04:00
Henrik Rydgård d6b4a76e98 Add Copy button for calculated CRCs on game info screen 2024-09-02 22:48:47 +02:00
Henrik Rydgård 7a0cda93d0 Call TimeInit() in headless and unittest 2024-07-26 15:59:26 +02:00
Henrik Rydgård 96c4ae4457 TimeUtil: Minor cleanup, add precise_sleep() 2024-07-26 11:25:58 +02:00
Henrik Rydgård 5939270d2c Log: Split out StdioListener from ConsoleListener, making the second Win32-only. 2024-07-21 13:55:40 +02:00
Henrik Rydgård e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård 1754fd1504 Buildfix, oops. 2024-05-26 17:26:11 +02:00
Henrik Rydgård 5042555d7b Make a dedicated system request KEEP_SCREEN_BRIGHT, unify behavior between Windows and Android more 2024-05-20 14:03:54 +02:00
Henrik Rydgård 4d0f3183f2 Windows: When using "Create shortcut", use the game's icon instead of PPSSPP's.
Since on Windows, shortcuts can't embed icons, we first save the game's
icon .png as an .ico in the SAVESTATE folder (there might be a better
place, but it also doesn't seem worth it to create a new folder for
this).

Part of #10885 (Android functionality still missing, for example).
2024-05-13 01:37:53 +02:00
Henrik Rydgård 0ae0c9bbe9 Minor cleanup in main.cpp 2024-05-03 17:00:36 +02:00
Henrik Rydgård 862fb951f1 Add support for loading mp3 files as UI sound.
Fixes #18136
2024-04-09 19:15:49 +02:00
Henrik Rydgård 9ec5efdcc5 Add facility to run callbacks on the window thread 2024-04-06 12:14:29 +02:00
Henrik Rydgård 616ee81f84 Add another parameter to the internal "request" framework. 2024-04-06 12:04:45 +02:00
Henrik Rydgård 5a8140c301 Initialize RAIntegration support if available. Untested. 2024-04-05 18:15:10 +02:00
Henrik Rydgård c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård bc92226715 Folder browser (like when clicking Browse...): Preinitialize with the current folder. 2024-01-25 12:47:37 +01:00
Henrik Rydgård 8faba8426a AdrenoTools: Fix picking zip files from the Downloads folder. Add more validation. 2024-01-15 11:46:41 +01:00
Henrik Rydgård 676a4de4d7 Remove an ifdef controlling dialog button order 2023-12-07 17:30:15 +01:00
Henrik Rydgård 6dbe49775c Add a sysprop for IsDebuggerPresent. 2023-10-12 11:58:04 +02:00
Henrik Rydgård 20c13f3b4c Do the Vulkan check as early as possible 2023-10-03 12:17:43 +02:00
Henrik Rydgård c4e2ad37ff Windows: Avoid loading shell libraries during startup. 2023-10-03 12:17:43 +02:00
Henrik Rydgård e39980fc73 Reduce refresh rate checks.
These turned out to be unexpectedly expensive, so cache the value and
also try to check it a bit less.
2023-10-03 11:00:47 +02:00
Henrik Rydgård ade64171ce Proof-of-concept: libchdr works on Windows 2023-09-29 10:05:19 +02:00
Henrik Rydgård c2c7933393 Backend change from Win32 menu: Add quick workaround for instance counter misbehavior.
Should really do this some better way.

See #18148
2023-09-20 18:46:41 +02:00
Henrik Rydgård 1025bbcf89 Log level/type: Use enum class instead of the awkward namespace trick.
Just a small cleanup I've wanted to do for a long time.
2023-08-25 11:48:59 +02:00