Commit Graph
11372 Commits
Author SHA1 Message Date
Stenzek 6146769d85 Settings: Restore a few missing defaults in Safe Mode 2025-12-26 01:57:07 +10:00
Víctor "IlDucci e70ae0be06 Spanish (Spain) translation update 2025/12/25 (#3669)
- Translated the latest batch of strings.
- Minor additional tweaks.
2025-12-26 01:57:00 +10:00
Stenzek e2aa1ae24c Qt: Fix handling of mouse double-click events
- Fixes double-click events with mouse binds getting dropped.
- Fixes early release event when toggling fullscreen.
2025-12-25 19:56:26 +10:00
Davide Pesavento 182075675d CI: Minimize workflow permissions 2025-12-25 17:29:46 +10:00
Davide Pesavento 9aaaf14e85 CI: Stricter yamllint config 2025-12-25 17:29:46 +10:00
Davide Pesavento ff747dde38 CI: Use ubuntu-slim runner for lint jobs 2025-12-25 17:29:46 +10:00
Davide Pesavento 1bc30de66f CI: Update actions 2025-12-25 17:29:46 +10:00
Stenzek 25790d704b InputManager: Register for device notifications with XInput
I forgot that I apparently don't poll active controllers.

Fixes controller hotplugging with XInput.
2025-12-25 13:52:30 +10:00
Stenzek 31764738c6 InputSource: Remove before calling OnInputDeviceDisconnected()
Fixes background polling interval not decreasing after last device
disconnects.
2025-12-25 13:51:29 +10:00
Anderson Cardoso 3253cc5bed Atualização Português do Brasil (#3667)
Atualizado para a última versão.
2025-12-25 13:50:32 +10:00
Stenzek 4b9154b45d Hotkeys: Add hotkey to toggle texture modulation cropping 2025-12-24 02:00:06 +10:00
Stenzek 88ca6cf40a README: Add instructions for resource overrides 2025-12-24 01:51:45 +10:00
Stenzek b55f4041bf GPU: Add option to crop vertex colours before modulation
aka "old" GPU.
2025-12-24 01:23:01 +10:00
Stenzek ad0312ec82 Settings: Free up space in GPUSettings struct 2025-12-24 00:16:44 +10:00
Stenzek 56d79c76a7 GPU: Extract heavier helper functions to own header 2025-12-23 20:00:58 +10:00
Stenzek 095fef524d GPUDevice: Extract enums to own file
Further reduction of indirect includes.
2025-12-23 19:52:33 +10:00
Stenzek 9370642434 Deps: Update rcheevos to v12.2.0 2025-12-23 19:34:29 +10:00
Stenzek 7bc32cdfa2 VulkanDevice: Swap EXT for KHR in structure type
No net difference.
2025-12-23 18:27:01 +10:00
Stenzek 822d756538 CubebAudioStream: Add missing layout mapping
Not actually used in DuckStation but one fewer patch I have to maintain.
2025-12-23 18:24:21 +10:00
Stenzek 9bcf23fa9b GameDB: Set PGXP-CPU for Vagrant Story
Fixes jitter in attack outline.
2025-12-23 18:24:05 +10:00
Stenzek a1aa038623 VulkanDevice: Use KHR variants of surface/swapchain maintenance
AMD doesn't support the EXT variant.
2025-12-23 16:43:21 +10:00
Stenzek 41a000c0f1 Deps: Update Vulkan-Headers to v1.4.337 2025-12-23 16:36:17 +10:00
Stenzek 69458bd90b VulkanDevice: Persist instance throughout launches
Testing with AMD on Windows and LLVMPipe on Linux, creating and
destroying a Vulkan instance appears to leak around 20-30MB of memory.

Just keep the thing around for the whole time. Reduces startup time too,
so everyone wins. Unless you're switching renderers all the time, then
you lose a bit of memory.
2025-12-23 16:22:33 +10:00
Stenzek e13b9a0c17 WindowInfo: Extract type into global namespace 2025-12-23 16:10:45 +10:00
Stenzek f4c752a99f Qt: Extract window info functions to own file
More include reduction.
2025-12-23 16:10:45 +10:00
Stenzek 5b789be901 GPUDevice: Extract texture format to global namespace
Avoid pulling in gpu_texture.h and indirect includes just for this.
2025-12-23 16:10:45 +10:00
Stenzek c3415c4891 VulkanDevice: Rearrange fields for locality 2025-12-23 12:50:16 +10:00
Stenzek 5a7acfe730 Qt: Populate graphics adapters asynchronously
More time saved when opening the settings window.
2025-12-23 01:52:06 +10:00
Stenzek fbdd2689b1 Qt: Populate audio devices asynchronously
Save another 40-60ms when opening the window on my system. That's a few
frames at least!
2025-12-23 01:52:06 +10:00
Stenzek edd3df899a Qt: Fix noreturn warning in Host::ReportFatalError() 2025-12-23 01:52:06 +10:00
Stenzek a494477225 SoundEffectManager: Add caching and async reading 2025-12-23 01:52:05 +10:00
Stenzek c7c29d4141 WAVReader: Add in-memory parsing 2025-12-23 01:52:05 +10:00
Stenzek b8e93855fe WAVReader: Fix reading into non-data chunks after data 2025-12-23 01:52:05 +10:00
Stenzek 3fe319df51 FullscreenUI: Add navigation sound effects 2025-12-23 01:52:05 +10:00
Stenzek 0897dfcc94 Data: Add navigation sound effects 2025-12-23 01:52:05 +10:00
Stenzek b1d5c42a13 PlatformMisc: Remove PlaySoundAsync()
No longer needed.
2025-12-23 01:52:05 +10:00
Stenzek 7a85841511 Achievements: Use SoundEffectManager instead of PlaySoundAsync()
Much less jank.
2025-12-23 01:52:05 +10:00
Stenzek 8a7dd1612b SoundEffectManager: Add system for playing short sound effects 2025-12-23 01:52:05 +10:00
Stenzek cf103e9979 Core: Set correct log channel 2025-12-23 01:52:05 +10:00
Stenzek c0277db4cf WAVReader: Make ReadFrames() return optional
That way the caller can detect EOF.
2025-12-23 01:52:05 +10:00
Stenzek 132ca44f05 CubebAudioStream: Use a single shared context
Will be needed shortly.
2025-12-23 01:52:05 +10:00
Stenzek 02384ac2aa AudioStream: Move all streams to same log channel 2025-12-23 00:51:06 +10:00
Stenzek abcaceeb80 AudioStream: Split into source and backend streams 2025-12-23 00:18:07 +10:00
Stenzek 471fba1445 FullscreenUI: Fix stack use-after-free 2025-12-23 00:18:06 +10:00
Stenzek 2935a3d71b Common: Add additional ryml helpers 2025-12-21 16:14:20 +10:00
Stenzek d7c015aefb MSBuild: Fix non-reproducible path sneaking into binary 2025-12-21 14:00:42 +10:00
Stenzek 22d8b6dc8c GPUBackend: Fix infinite loop on state allocation failure 2025-12-21 13:59:17 +10:00
Stenzek 461aaeda4d ProgressCallback: Add message logging 2025-12-21 01:35:46 +10:00
Stenzek bfb9ba1c6d Qt: Backport noreturn ReportFatalError() 2025-12-20 23:56:21 +10:00
Stenzek f4ff36b565 Host: Move async tasks to host namespace
So we can use proper QThreads for them to avoid lazy-creating the Qt
per-thread data.
2025-12-20 23:56:21 +10:00