mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-26 13:06:46 +00:00
Merge pull request #10144 from liamwhite/dont-turbo
vulkan: disable turbo when debugging tool is attached
This commit is contained in:
commit
8dd3baa562
|
@ -617,7 +617,9 @@ bool Device::ShouldBoostClocks() const {
|
||||||
|
|
||||||
const bool is_steam_deck = vendor_id == 0x1002 && device_id == 0x163F;
|
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) {
|
bool Device::GetSuitability(bool requires_swapchain) {
|
||||||
|
|
Loading…
Reference in a new issue