|
|
@ -2,6 +2,7 @@
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
|
|
|
|
#include <version>
|
|
|
|
#include <version>
|
|
|
|
|
|
|
|
#include "common/settings_enums.h"
|
|
|
|
#if __cpp_lib_chrono >= 201907L
|
|
|
|
#if __cpp_lib_chrono >= 201907L
|
|
|
|
#include <chrono>
|
|
|
|
#include <chrono>
|
|
|
|
#include <exception>
|
|
|
|
#include <exception>
|
|
|
@ -145,6 +146,10 @@ bool IsFastmemEnabled() {
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool IsDockedMode() {
|
|
|
|
|
|
|
|
return values.use_docked_mode.GetValue() == Settings::ConsoleMode::Docked;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
float Volume() {
|
|
|
|
float Volume() {
|
|
|
|
if (values.audio_muted) {
|
|
|
|
if (values.audio_muted) {
|
|
|
|
return 0.0f;
|
|
|
|
return 0.0f;
|
|
|
|