Commit Graph
2627 Commits
Author SHA1 Message Date
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årdandGitHub 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årdandGitHub 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årdandGitHub 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årdandGitHub 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årdandGitHub 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årdandGitHub 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årdandGitHub 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