Add a "Mute Audio" hotkey

This commit is contained in:
Kewlan
2020-06-25 21:05:03 +02:00
parent d11baf8bf8
commit 3eb8efc095
6 changed files with 17 additions and 3 deletions

View File

@ -127,6 +127,13 @@ void LogSettings() {
LogSetting("Services_BCATBoxcatLocal", Settings::values.bcat_boxcat_local);
}
float Volume() {
if (values.audio_muted) {
return 0.0f;
}
return values.volume;
}
bool IsGPULevelExtreme() {
return values.gpu_accuracy == GPUAccuracy::Extreme;
}