diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-08-23 03:58:23 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-08-23 03:58:23 +0200 |
commit | 3c45452fae7f33d0534c144c5f588ef98f0a1346 (patch) | |
tree | 02ba43c8405ae2ca8b80940653cb558d0db6191a /src/core/hle/service/vi/vi.cpp | |
parent | settings: Add docked mode helper function (diff) | |
download | yuzu-3c45452fae7f33d0534c144c5f588ef98f0a1346.tar yuzu-3c45452fae7f33d0534c144c5f588ef98f0a1346.tar.gz yuzu-3c45452fae7f33d0534c144c5f588ef98f0a1346.tar.bz2 yuzu-3c45452fae7f33d0534c144c5f588ef98f0a1346.tar.lz yuzu-3c45452fae7f33d0534c144c5f588ef98f0a1346.tar.xz yuzu-3c45452fae7f33d0534c144c5f588ef98f0a1346.tar.zst yuzu-3c45452fae7f33d0534c144c5f588ef98f0a1346.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/vi/vi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index 6b5f3a17a..2eb978379 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp @@ -217,7 +217,7 @@ private: IPC::ResponseBuilder rb{ctx, 6}; rb.Push(ResultSuccess); - if (Settings::values.use_docked_mode.GetValue() == Settings::ConsoleMode::Docked) { + if (Settings::IsDockedMode()) { rb.Push(static_cast<u32>(Service::VI::DisplayResolution::DockedWidth)); rb.Push(static_cast<u32>(Service::VI::DisplayResolution::DockedHeight)); } else { |