mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-21 02:17:54 -05:00
general: Use console mode helper across project
This commit is contained in:
@ -68,9 +68,7 @@ void Controller::SetFromCpuBoostMode(CpuBoostMode mode) {
|
||||
}
|
||||
|
||||
PerformanceMode Controller::GetCurrentPerformanceMode() const {
|
||||
return Settings::values.use_docked_mode.GetValue() == Settings::ConsoleMode::Docked
|
||||
? PerformanceMode::Boost
|
||||
: PerformanceMode::Normal;
|
||||
return Settings::IsDockedMode() ? PerformanceMode::Boost : PerformanceMode::Normal;
|
||||
}
|
||||
|
||||
PerformanceConfiguration Controller::GetCurrentPerformanceConfiguration(PerformanceMode mode) {
|
||||
|
Reference in New Issue
Block a user