summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/ISSUE_TEMPLATE/bug-report-feature-request.md6
-rw-r--r--.github/ISSUE_TEMPLATE/config.yml3
-rw-r--r--src/yuzu/main.cpp18
3 files changed, 16 insertions, 11 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug-report-feature-request.md b/.github/ISSUE_TEMPLATE/bug-report-feature-request.md
index 93370eaca..808613237 100644
--- a/.github/ISSUE_TEMPLATE/bug-report-feature-request.md
+++ b/.github/ISSUE_TEMPLATE/bug-report-feature-request.md
@@ -1,8 +1,3 @@
1<!--
2SPDX-FileCopyrightText: 2016 MerryMage
3SPDX-License-Identifier: GPL-2.0-or-later
4-->
5
6--- 1---
7name: Bug Report / Feature Request 2name: Bug Report / Feature Request
8about: Tech support does not belong here. You should only file an issue here if you think you have experienced an actual bug with yuzu or you are requesting a feature you believe would make yuzu better. 3about: Tech support does not belong here. You should only file an issue here if you think you have experienced an actual bug with yuzu or you are requesting a feature you believe would make yuzu better.
@@ -42,4 +37,3 @@ When submitting an issue, please check the following:
42 37
43 38
44 39
45
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index 8eed3b7c2..52faafad3 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,6 +1,3 @@
1# SPDX-FileCopyrightText: 2020 tgsm <doodrabbit@hotmail.com>
2# SPDX-License-Identifier: GPL-2.0-or-later
3
4blank_issues_enabled: false 1blank_issues_enabled: false
5contact_links: 2contact_links:
6 - name: yuzu Discord 3 - name: yuzu Discord
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index e8a57f4b4..f8c234082 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1076,12 +1076,26 @@ void GMainWindow::InitializeHotkeys() {
1076 [] { Settings::values.audio_muted = !Settings::values.audio_muted; }); 1076 [] { Settings::values.audio_muted = !Settings::values.audio_muted; });
1077 connect_shortcut(QStringLiteral("Audio Volume Down"), [] { 1077 connect_shortcut(QStringLiteral("Audio Volume Down"), [] {
1078 const auto current_volume = static_cast<int>(Settings::values.volume.GetValue()); 1078 const auto current_volume = static_cast<int>(Settings::values.volume.GetValue());
1079 const auto new_volume = std::max(current_volume - 5, 0); 1079 int step = 5;
1080 if (current_volume <= 30) {
1081 step = 2;
1082 }
1083 if (current_volume <= 6) {
1084 step = 1;
1085 }
1086 const auto new_volume = std::max(current_volume - step, 0);
1080 Settings::values.volume.SetValue(static_cast<u8>(new_volume)); 1087 Settings::values.volume.SetValue(static_cast<u8>(new_volume));
1081 }); 1088 });
1082 connect_shortcut(QStringLiteral("Audio Volume Up"), [] { 1089 connect_shortcut(QStringLiteral("Audio Volume Up"), [] {
1083 const auto current_volume = static_cast<int>(Settings::values.volume.GetValue()); 1090 const auto current_volume = static_cast<int>(Settings::values.volume.GetValue());
1084 const auto new_volume = std::min(current_volume + 5, 100); 1091 int step = 5;
1092 if (current_volume < 30) {
1093 step = 2;
1094 }
1095 if (current_volume < 6) {
1096 step = 1;
1097 }
1098 const auto new_volume = std::min(current_volume + step, 100);
1085 Settings::values.volume.SetValue(static_cast<u8>(new_volume)); 1099 Settings::values.volume.SetValue(static_cast<u8>(new_volume));
1086 }); 1100 });
1087 connect_shortcut(QStringLiteral("Toggle Framerate Limit"), [] { 1101 connect_shortcut(QStringLiteral("Toggle Framerate Limit"), [] {