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
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
0caebbfaa6
Add a way to pass out error messages from VulkanLoad
2024-01-15 11:22:33 +01:00
Henrik Rydgård
4360fe786c
Add a setting for smart 2D texture filtering
2024-01-12 11:10:53 +01:00
Henrik Rydgård
126d88ecfc
Back out clearly inconsequential/useless .reserve() calls
2023-12-29 08:27:56 +01:00
Henrik Rydgård
80c6dbfdfe
Minor: bugfix in texreplacer, darker alpha chessboard in texture viewer
2023-12-28 19:46:36 +01:00
Henrik Rydgård
49ff1af16a
CtrlDisplayListView: Zero the window ptr, do the delete.
...
See #18510
2023-12-28 10:44:22 +01:00
Henrik Rydgård
dd1396e2fd
Merge pull request #18581 from GermanAizek/lower-scope
...
Reduced lower scope for local objects
2023-12-20 14:53:36 +01:00
Herman Semenov
95f535dab0
[UI/Windows] Object out of scope optimization for better codegeneration (lower level scope)
2023-12-20 12:35:02 +03:00
Henrik Rydgård
f2ee437323
Merge pull request #18579 from GermanAizek/emplace_back
...
Minor replaced insert to emplace C++11
2023-12-19 14:30:26 +01:00
Herman Semenov
4ea842a3c1
Minor replaced insert to emplace C++11
2023-12-19 16:06:48 +03:00
Henrik Rydgård
02eb10649d
Improve checks
2023-12-18 09:12:44 +01:00
Henrik Rydgård
b2729507a1
Assorted debugger-related fixes
...
Also fixes issue where the rewind machinery would run even during pause.
2023-12-18 00:21:53 +01:00
Henrik Rydgård
06e92e9d72
Merge pull request #18568 from hrydgard/mouse-wheel-repeat
...
Mouse wheel: Centralize the sending of KEY_UP events on a timer.
2023-12-17 21:40:12 +01:00
Henrik Rydgård
818471a2d7
Mouse wheel: Centralize the sending of KEY_UP events on a timer.
2023-12-17 19:40:59 +01:00
Henrik Rydgård
6140321be5
Merge pull request #18566 from Nemoumbra/debugger-ui-fix
...
Stop opening some context menus when the game's not loaded
2023-12-17 16:31:41 +01:00
Henrik Rydgård
d397635e49
Mouse input: Approximate the old smoothing function
2023-12-14 19:24:39 +01:00
Henrik Rydgård
578a90fb81
Merge pull request #18549 from GermanAizek/fix-mouse-delta
...
Removed unused AccumulateMouseDeltas function on Windows
2023-12-14 17:58:30 +01:00
Herman Semenov
446ac51be2
Remove unused AccumulateMouseDeltas function on Windows
2023-12-14 19:33:25 +03:00
Henrik Rydgård
6da23a2a24
Merge pull request #18543 from hrydgard/minor-crash-fix
...
Minor debugger-related crash fixes
2023-12-14 14:12:20 +01:00
Henrik Rydgård
b78c7ad470
Merge pull request #18545 from GermanAizek/const-ref-params
...
Objects in function parameters have been replaced with constant references
2023-12-14 13:49:33 +01:00
Herman Semenov
3d422b11c0
[GPU Common Vulkan/UI/Windows Debugger] Added const reference for function params
2023-12-14 14:23:31 +03:00
Nemoumbra
a4fe83ea20
Stop some UI elements from opening when the game's not loaded
2023-12-14 01:40:46 +03:00
Henrik Rydgård
15c0bb1bd0
Fix crash in debugger after unloading the game.
2023-12-13 22:00:55 +01:00
Herman Semenov
6360cec554
Fixed set 0xFFFFFFFF for pixel Y coordinate
2023-12-12 15:35:23 +03:00
oltolm
96a30ffb49
CtrlDisplayListView: fix ASAN eror
2023-12-10 16:32:18 +01:00
Henrik Rydgård
db4993bfdc
Implement full support for mouse input on Android
...
The smoothing algorithm changed a bit now that I centralized that logic
in a way that can work with all backends.
2023-12-10 09:52:19 +01:00
Henrik Rydgård
566d9f67f6
SDL input filtering
2023-12-08 16:17:38 +01:00
Henrik Rydgård
676a4de4d7
Remove an ifdef controlling dialog button order
2023-12-07 17:30:15 +01:00
Henrik Rydgård
aed8bc6d7b
RetroAchievements: Finish the Challenge->Hardcore rename
2023-12-03 16:41:29 +01:00
Henrik Rydgård
dae758e5f4
Fix some bugs and mistakes found by Nemoumbra through static analysis
2023-11-26 13:43:11 +01:00
Henrik Rydgård
bd08fdd566
Forgot some cases where I need to enable save (but not load) state in challenge mode, if the option is set
2023-11-16 20:13:47 +01:00
Henrik Rydgård
96cfdbaa96
Some more XInput cleanup
2023-11-11 11:08:22 +01:00
Henrik Rydgård
004d8fc20e
Remove unused code
2023-11-11 10:51:41 +01:00
Katharine Chui
cdd6f2f5c9
skip xinput trigger threshold check
2023-11-11 16:03:08 +08:00
Henrik Rydgård
6dbe49775c
Add a sysprop for IsDebuggerPresent.
2023-10-12 11:58:04 +02:00
Henrik Rydgård
0ad2827e14
Vulkan: Fix synchronization when shutting the GPU down in-game.
2023-10-11 12:27:39 +02:00
Henrik Rydgård
e4ea4831e9
Delete the vertex cache option from the code.
2023-10-10 15:43:43 +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
c0e5da02ff
Buildfixes
2023-09-30 12:06:07 +02:00
Henrik Rydgård
19e4de5088
Change global UI messages to use an enum instead of strings.
...
Makes it easier to add new ones and delete outdated ones without missing
any uses.
2023-09-30 11:37:02 +02:00
Henrik Rydgård
ade64171ce
Proof-of-concept: libchdr works on Windows
2023-09-29 10:05:19 +02:00
Henrik Rydgård
c8d7226a5f
DInput: Seems sometimes we never check for pads on startup? Fix that.
2023-09-27 12:07:21 +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
German Semenov
c498a42e92
Core, UI, Windows: Removed excess converting C-string in params
2023-09-15 13:54:11 +03:00
Henrik Rydgård
ef6ea1bd23
Minor cleanup
2023-09-11 11:41:29 +02:00
Nemoumbra
ef20a0ba34
Ctrl+X -> Ctrl+H for closing the bottom tabs
2023-09-07 14:39:15 +03:00
Henrik Rydgård
80a99a67d9
Control: Change internal interfaces to batch-process input axis updates
...
These naturally come in bunches on many platforms like Android, so lay
some groundwork to also handle them in bunches to minimize locking in
the future.
Linux buildfix
2023-08-31 11:55:53 +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
Henrik Rydgård
dfe187df1e
Allow disabling HTTPS through the config file
...
Simply set:
```ini
[General]
DisableHTTPS = True
```
Added to help debug issue #17969
2023-08-24 21:28:30 +02:00
Henrik Rydgård
d2d8688e47
Add "Create frame dump" to the in-game developer menu (that can be enabled in dev settings)
...
Makes it possible to create one without connecting the websocket
debugger, even on non-Windows platforms.
2023-08-24 14:41:35 +02:00
Henrik Rydgård
60492ae579
Make System_ShowFileInFolder a "request"
...
Also makes support queryable.
Lets us remove the dummy implementations.
2023-08-24 14:22:35 +02:00
Henrik Rydgård
5b76615463
Cleanup and more sensible defaults for current directory
2023-08-18 15:04:20 +02:00
Henrik Rydgård
5acb421908
Merge pull request #17927 from hrydgard/path-creation-cleanup
...
Windows: Memstick directory creation cleanup
2023-08-18 13:51:42 +02:00
Henrik Rydgård
a8cbe060dc
Merge pull request #17926 from hrydgard/create-shortcut-windows
...
Windows: Fix "Create desktop shortcut" functionality
2023-08-18 13:20:22 +02:00
Henrik Rydgård
44d602ca7d
Move InitSysDirectories to where it belongs and rename it. Plus warning fixes.
2023-08-18 13:03:32 +02:00
Henrik Rydgård
6f6ea4595a
Windows: Split out Create... from InitSysDirectories, fixup uses
2023-08-18 12:46:40 +02:00
Henrik Rydgård
01f07c9f9c
Windows: Fix "Create desktop icon" functionality
...
All it needed was to suffix the filename with .lnk correctly.
2023-08-18 10:49:00 +02:00
Henrik Rydgård
25f02d0227
Windows: Make switching UMD through "Emulation->Switch UMD" threadsafe
2023-08-18 10:29:10 +02:00
Henrik Rydgård
ef2d7a810a
Add comments, move some stuff around, get rid of some indentation. No functionality change.
2023-08-15 18:34:06 +02:00
Henrik Rydgård
ff6e118fff
Get rid of a lot of ifdefs around presentation mode. Instead, set things dynamically.
2023-08-14 11:02:29 +02:00
Henrik Rydgård
86fcb28d4d
Remove "bool retainControl_" for simplicity. Not needed.
2023-08-13 18:40:35 +02:00
Henrik Rydgård
1ea11c233c
Remove "SwapBuffers" from the GraphicsContext interface.
...
Buildfixes
More buildfix
headless buildfix
One more buildfix
2023-08-11 01:57:02 +02:00
Henrik Rydgård
ed9b033f7d
D3D9/11: Move away from using context->SwapBuffers(), instead move present to draw_->Present().
2023-08-11 01:57:02 +02:00
Henrik Rydgård
1bdbef487b
D3D11: Pass the swapchain pointer into the thin3d context
2023-08-11 01:57:02 +02:00
Henrik Rydgård
be708e3e02
Move KeepScreenAwake to platform specific code.
2023-08-10 16:12:12 +02:00
Henrik Rydgård
96506544b7
Just some random driveby code cleanup
2023-08-10 10:28:25 +02:00
Henrik Rydgård
5533d5ec57
More lenient emoji check, remove unused variable
2023-08-06 17:17:24 +02:00
Henrik Rydgård
39d25ce91f
D3D11: Allow setting the max frame latency
2023-08-04 11:53:51 +02:00
Henrik Rydgård
a32249a3cf
Move DebugOverlay rendering to the overlay screen, allowing drawing it on top of the menu
2023-08-03 16:19:18 +02:00