From 9b813f4ae38f50a6471bff6c384d2d0e3e0bf2e1 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Thu, 2 Mar 2023 19:02:38 +1000 Subject: [PATCH] Qt: Fix skipdraw not being hidden globally again And slience a warning in TC. --- pcsx2-qt/Settings/GraphicsSettingsWidget.cpp | 2 +- pcsx2-qt/Settings/GraphicsSettingsWidget.ui | 56 ++++++++++---------- pcsx2/GS/Renderers/HW/GSTextureCache.cpp | 2 +- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/pcsx2-qt/Settings/GraphicsSettingsWidget.cpp b/pcsx2-qt/Settings/GraphicsSettingsWidget.cpp index c5b37ea738..b9b31415c1 100644 --- a/pcsx2-qt/Settings/GraphicsSettingsWidget.cpp +++ b/pcsx2-qt/Settings/GraphicsSettingsWidget.cpp @@ -298,7 +298,7 @@ GraphicsSettingsWidget::GraphicsSettingsWidget(SettingsDialog* dialog, QWidget* // Remove texture offset and skipdraw range for global settings. m_ui.upscalingFixesLayout->removeRow(2); - m_ui.hardwareFixesLayout->removeRow(4); + m_ui.hardwareFixesLayout->removeRow(5); m_ui.skipDrawStart = nullptr; m_ui.skipDrawEnd = nullptr; m_ui.textureOffsetX = nullptr; diff --git a/pcsx2-qt/Settings/GraphicsSettingsWidget.ui b/pcsx2-qt/Settings/GraphicsSettingsWidget.ui index ff208a66a6..992e751683 100644 --- a/pcsx2-qt/Settings/GraphicsSettingsWidget.ui +++ b/pcsx2-qt/Settings/GraphicsSettingsWidget.ui @@ -1005,24 +1005,10 @@ - - + + - Preload Frame Data - - - - - - - Disable Depth Emulation - - - - - - - Disable Partial Source Invalidation + Auto Flush @@ -1033,10 +1019,10 @@ - - + + - Target Partial Invalidation + Disable Depth Emulation @@ -1047,13 +1033,6 @@ - - - - Auto Flush - - - @@ -1061,7 +1040,28 @@ - + + + + Disable Partial Source Invalidation + + + + + + + Target Partial Invalidation + + + + + + + Preload Frame Data + + + + Estimate Texture Region diff --git a/pcsx2/GS/Renderers/HW/GSTextureCache.cpp b/pcsx2/GS/Renderers/HW/GSTextureCache.cpp index f35143922c..3d56e30788 100644 --- a/pcsx2/GS/Renderers/HW/GSTextureCache.cpp +++ b/pcsx2/GS/Renderers/HW/GSTextureCache.cpp @@ -2812,7 +2812,7 @@ GSTextureCache::Source* GSTextureCache::CreateMergedSource(GIFRegTEX0 TEX0, GIFR page_x++; if (page_x == width_in_pages) { - start_TBP0 += row_page_increment * page_blocks; + start_TBP0 += page_block_increment; current_TBP0 = start_TBP0; page_x = 0; page_y++;