Henrik Rydgård
16e9c57f96
Delay initializing the Backend submenu until the last possible moment.
2025-09-01 09:46:33 +02:00
Henrik Rydgård
94b47498ab
Windows: Remove special code for the help menu
2025-09-01 09:34:27 +02:00
Henrik Rydgård
5751e202a5
Remove redundant .c_str()
2025-08-31 13:37:43 +02:00
Henrik Rydgård
9137eedb7b
Windows/Vulkan: Correctly handle minimizing and restoring the window
...
We can't create a swapchain in this case but we still want emulation to
keep running. So we ditch the last renderpass in VulkanQueueRunner but
run all the rest (if PauseWhenMinimized isn't set).
Now works without any validation errors or hangs.
2025-07-18 20:01:48 +02:00
Henrik Rydgård
5e55090e67
Windows: Fix a hang during shutdown, could leave behind a running process.
2025-07-09 12:13:18 +02:00
Henrik Rydgård
5a300120ab
Windows: Remove the "inner" window
...
For historical reasons, we've actually displayed inside an inner window
completely covering the client area of the main window. This seems to be
entirely unnecessary so I'm just getting rid of it and using the main
window directly for everything.
Not expecting any noticable change, just a nice cleanup.
2025-07-09 11:32:18 +02:00
Henrik Rydgård
2cebaa7509
Win32: Paint the window black earlier during startup
2025-07-08 15:08:19 +02:00
Henrik Rydgård
f6aa92d635
More refactoring
2025-06-28 14:15:42 +02:00
Henrik Rydgård
09e067c6e1
Revert "Get rid of remains of support for non-square screen DPIs"
...
This reverts commit f206ed95eb .
2025-05-21 21:41:50 +02:00
Henrik Rydgård
b27a022e7c
Remove two states from the CoreState enum.
2025-04-05 09:18:56 +02:00
Henrik Rydgård
c906cee1ed
Provide a parent HWND to assert messageboxes (assert no longer appears below..)
2025-03-29 11:16:33 +01:00
Henrik Rydgård
116f8cf3af
Implement resetting from a popup menu on the pause menu.
2025-03-28 14:31:01 +01:00
Henrik Rydgård
3ab625a0fa
Windows: Lock when updating the window title
2025-03-06 14:24:40 +01:00
Henrik Rydgård
852018e899
Windows: Hook up the UI scale setting. Need a manual resize to update.
2025-02-20 17:06:38 -06:00
Henrik Rydgård
91360fee9b
Have Native_UpdateScreenScale use the new g_display.Recalculate()
2025-02-20 15:47:02 -06:00
Henrik Rydgård
f206ed95eb
Get rid of remains of support for non-square screen DPIs
2025-02-20 11:14:26 -06:00
Henrik Rydgård
31cf5771f4
Turn the break reason into an enum, fix some minor issues
2025-02-19 16:01:11 -06:00
Henrik Rydgård
74ee868cdb
More confirmexit fixes
2025-02-17 16:20:41 -06:00
Henrik Rydgård
dd119f5971
Merge the two ConfirmExit paths
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
9bee4192ba
Implement exit confirmation when closing the window on Windows.
2025-02-17 13:09:11 -06:00
Henrik Rydgård
63a41e7635
Windows: Fix mis-interaction between no-menu pause and pause on window lost focus, reported by IRVN
2025-01-23 14:32:38 +01:00
Henrik Rydgård
0d21d3764f
Fix cursor shape getting stuck when switching from imgui
2025-01-20 12:20:21 +01:00
Henrik Rydgård
8cc77c0997
ImGui: Implement cursor support on Windows
2024-12-13 22:06:59 +01:00
Henrik Rydgård
43af3128e0
Fix drag/drop crash
2024-12-10 01:03:05 +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
2b8414b437
Move irrelevant code out of Core.cpp
2024-12-02 13:26:41 +01:00
Henrik Rydgård
0df2a40487
Remove the "GPUInterface" base class. Not really useful, GPUCommon is pretty much the same thing.
2024-12-02 11:12:14 +01:00
Henrik Rydgård
18240b3ed0
Don't full-screen-on-doubleclick if ImGui debugger is active
2024-11-12 12:20:47 +01:00
Henrik Rydgård
dff7f5704a
Implement mousewheel vertical scroll and hover in ImGui integration
2024-11-06 22:00:11 +01:00
Henrik Rydgård
c459d43f14
Merge pull request #19569 from hrydgard/imgui-integration
...
ImGui integration prototype
2024-11-05 10:18:30 +01:00
Henrik Rydgård
19f4b22a56
Cleanup, add right-click support to UI framework
2024-11-05 01:03:21 +01:00
Henrik Rydgård
d3e9398cb3
Split Core_EnableStepping into Core_Break and Core_Resume
2024-11-03 17:53:42 +01: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
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
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
53ebba4a3e
Vulkan: Fix bug when stepping / pausing-on-lost-focus
2024-05-29 14:49:53 +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
359b4fe1cf
Windows: Fix tiny memory leak with drag-drop
2024-05-10 13:47:18 +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
9ec5efdcc5
Add facility to run callbacks on the window thread
2024-04-06 12:14:29 +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
818471a2d7
Mouse wheel: Centralize the sending of KEY_UP events on a timer.
2023-12-17 19:40:59 +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
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
German Semenov
c498a42e92
Core, UI, Windows: Removed excess converting C-string in params
2023-09-15 13:54:11 +03:00
Henrik Rydgård
96506544b7
Just some random driveby code cleanup
2023-08-10 10:28:25 +02:00