mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 13:47:56 -05:00
general: Use console mode helper across project
This commit is contained in:
@ -928,9 +928,8 @@ void GRenderWindow::CaptureScreenshot(const QString& screenshot_path) {
|
||||
const Layout::FramebufferLayout layout{[]() {
|
||||
u32 height = UISettings::values.screenshot_height.GetValue();
|
||||
if (height == 0) {
|
||||
height = Settings::values.use_docked_mode.GetValue() == Settings::ConsoleMode::Docked
|
||||
? Layout::ScreenDocked::Height
|
||||
: Layout::ScreenUndocked::Height;
|
||||
height = Settings::IsDockedMode() ? Layout::ScreenDocked::Height
|
||||
: Layout::ScreenUndocked::Height;
|
||||
height *= Settings::values.resolution_info.up_factor;
|
||||
}
|
||||
const u32 width =
|
||||
|
Reference in New Issue
Block a user