Commit Graph

2680 Commits

Author SHA1 Message Date
Henrik Rydgård
d9a19ed51f Fix ShowFileInFolder 2024-10-10 16:00:57 +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
Henrik Rydgård
9699be2110 RetroAchievements: Cleanup better on login failure 2024-09-26 01:09:56 +02:00
Henrik Rydgård
fb80ad6370
Merge pull request #19413 from oltolm/d3d9_com_ptr
use ComPtr for D3D9
2024-09-18 11:33:07 +02:00
Herman Semenov
3c66f149d3 [Common/Core/Windows] Removed excess check pointer before delete or free() 2024-09-17 11:34:42 +02:00
Bashar Astifan
e7d7d89066 Simplify & win11-build check fix
Without build check on Windows 10 it will appear as Windows 11, I forgot to keep build check, also the process can be simplified more to avoid extra functions.
2024-09-04 22:56:37 +04: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
oltolm
87db979ed7 use ComPtr for D3D9 2024-08-25 12:08:31 +02:00
Nemoumbra
b794532a8e Tabulation fix + potential misaligned read fix 2024-08-11 20:20:07 +03: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
9b095a9e16 New approach: If Alt is mapped to anything, don't have it open the menu. 2024-07-17 20:09:48 +02:00
Henrik Rydgård
2ddba06312 Have "Disable Windows Keys" also disable Alt, so it can be mapped. 2024-07-17 20:02:55 +02:00
Henrik Rydgård
9f1f75ddab Refactor: Merge the ChooseDevice function into CreateDevice 2024-07-17 10:31:49 +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
eveninglatte
00e4dcd43a Fixed some strings not being translated properly
Also changed all occurences of "Smart 2D Texture Filtering" to be lowercase except for the first word
2024-07-07 14:49:47 +02:00
Henrik Rydgård
53ebba4a3e Vulkan: Fix bug when stepping / pausing-on-lost-focus 2024-05-29 14:49:53 +02:00
Henrik Rydgård
d29a2a2b8c Make the "Pause when not focused" setting available in the regular settings menu 2024-05-29 13:06:49 +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
bb7972c437 Correct the wPlanes field in the ico format 2024-05-13 01:48:15 +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
d21fef52ae Allow taking screenshots in the app menu 2024-05-10 21:10:11 +02:00
Henrik Rydgård
359b4fe1cf Windows: Fix tiny memory leak with drag-drop 2024-05-10 13:47:18 +02:00
Henrik Rydgård
d769c3223c Fix camera mirroring color issue, fix warning 2024-05-05 11:20:29 +02:00
Henrik Rydgård
0ae0c9bbe9 Minor cleanup in main.cpp 2024-05-03 17:00:36 +02:00
Henrik Rydgård
2cb3bd1cbe Use the dwmapi to disable rounded corners on Windows 11.
Hopefully just ignored on lower windows versions...
2024-04-28 14:27:58 +02:00
Henrik Rydgård
dbd774040e Add option to mirror the camera image horizontally.
Only for Windows right now - since the PSP expects the image as a JPEG and
the various backends deliver it as such, we have to add
platform-specific code to mirror the image pre-compression.
2024-04-16 20:33:06 +02:00
Henrik Rydgård
e188f3cadc Fix camera on Windows. Forgot to re-enable USE_FFMPEG in the project.
We use FFMPEG's swscaler system for scaling camera images (this should
be changed at some point, though).
2024-04-15 21:23:19 +02:00
Henrik Rydgård
33ba30694a Revert "Disable FFMPEG temporarily to avoid symbol clashes"
This reverts commit 14222f5977e8aa0c167e8879450d84d77df3b1a2.
2024-04-11 14:39:59 +02:00
Henrik Rydgård
8fbc4a3379 Ultra-gross hackery, but works! Now, need to pare it down, heavily... 2024-04-11 14:39:59 +02:00
Henrik Rydgård
fb906481cc Disable FFMPEG temporarily to avoid symbol clashes 2024-04-11 14:39:59 +02:00
Henrik Rydgård
f680b0bb86 Set USE_FFMPEG in the Windows project (for CaptureDevice.cpp) 2024-04-10 18:40:56 +02:00
Henrik Rydgård
5b3be0d720 Update USE_FFMPEG checks 2024-04-10 18:40:02 +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
770e5b4f4a Fix shortcut translation so we don't eat Ctrl+C for RAIntegration windows 2024-04-05 22:41:08 +02:00
Henrik Rydgård
5a8140c301 Initialize RAIntegration support if available. Untested. 2024-04-05 18:15:10 +02:00
Henrik Rydgård
81ef166772 Combine two minor fixes by GermanAizek
This takes the good parts from #18995 and #18999
2024-04-04 20:57:51 +02:00
Herman Semenov
17ecee1715 Fixed return copies from functions and const ref params 2024-04-02 18:37:00 +03: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
b899a178bf Change approach (call from NativeFrame instead). Add Mac support 2024-01-18 18:21:12 +01:00
Henrik Rydgård
d51da3ca60 Windows: Add "Restart Graphics" to the debug menu. Useful to debug resource lifetime issues. 2024-01-18 15:57:45 +01:00
Henrik Rydgård
1304d04161 Fix a particular type of race condition in file dialog requests
It seems to be possible for a user to back out of a screen before
receiving the "dialog completed" callback on Android, in which case
things pointed to by the callback might be gone.

In this case, it's better to simply not call the callback, rather than
crashing.

This is accomplished by assigning "Tokens" to screens that cause
requests, and in ~Screen, invalidate any pending requests belonging to
that token.
2024-01-18 12:25:55 +01:00