diff options
author | Liam <byteslice@airmail.cc> | 2023-05-03 00:14:57 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-05-03 00:14:57 +0200 |
commit | 4df49631dec0156f1b7e05d6276bfad51a724f64 (patch) | |
tree | 136549115cf525f283e7e7793e5c63f48acb7b10 | |
parent | Merge pull request #10084 from FernandoS27/yuzu-goes-broom-broom (diff) | |
download | yuzu-4df49631dec0156f1b7e05d6276bfad51a724f64.tar yuzu-4df49631dec0156f1b7e05d6276bfad51a724f64.tar.gz yuzu-4df49631dec0156f1b7e05d6276bfad51a724f64.tar.bz2 yuzu-4df49631dec0156f1b7e05d6276bfad51a724f64.tar.lz yuzu-4df49631dec0156f1b7e05d6276bfad51a724f64.tar.xz yuzu-4df49631dec0156f1b7e05d6276bfad51a724f64.tar.zst yuzu-4df49631dec0156f1b7e05d6276bfad51a724f64.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 6f288b3f8..6ffca2af2 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -617,7 +617,9 @@ bool Device::ShouldBoostClocks() const { const bool is_steam_deck = vendor_id == 0x1002 && device_id == 0x163F; - return validated_driver && !is_steam_deck; + const bool is_debugging = this->HasDebuggingToolAttached(); + + return validated_driver && !is_steam_deck && !is_debugging; } bool Device::GetSuitability(bool requires_swapchain) { |