diff options
| author | Stenzek <stenzek@gmail.com> | 2018-04-29 18:53:16 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2018-04-29 19:05:20 +1000 |
| commit | ea4090d92c51a53ee7aedcd1fe7871861a78550c (patch) | |
| tree | 3e72e7f250054960462ab9b137280f83bb80788f /Source/Core | |
| parent | 9e798eec94a8ebe94c1ef8270b504b5698b2a0f5 (diff) | |
Dolphin: Add disable copy filter to graphics options
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt2/Config/Graphics/EnhancementsWidget.cpp | 10 | ||||
| -rw-r--r-- | Source/Core/DolphinQt2/Config/Graphics/EnhancementsWidget.h | 1 | ||||
| -rw-r--r-- | Source/Core/DolphinWX/VideoConfigDiag.cpp | 8 |
3 files changed, 18 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/Config/Graphics/EnhancementsWidget.cpp b/Source/Core/DolphinQt2/Config/Graphics/EnhancementsWidget.cpp index 7776e82ce6..872b05101b 100644 --- a/Source/Core/DolphinQt2/Config/Graphics/EnhancementsWidget.cpp +++ b/Source/Core/DolphinQt2/Config/Graphics/EnhancementsWidget.cpp @@ -74,6 +74,8 @@ void EnhancementsWidget::CreateWidgets() m_disable_fog = new GraphicsBool(tr("Disable Fog"), Config::GFX_DISABLE_FOG); m_force_24bit_color = new GraphicsBool(tr("Force 24-Bit Color"), Config::GFX_ENHANCE_FORCE_TRUE_COLOR); + m_disable_copy_filter = + new GraphicsBool(tr("Disable Copy Filter"), Config::GFX_ENHANCE_DISABLE_COPY_FILTER); enhancements_layout->addWidget(new QLabel(tr("Internal Resolution:")), 0, 0); enhancements_layout->addWidget(m_ir_combo, 0, 1, 1, -1); @@ -92,6 +94,7 @@ void EnhancementsWidget::CreateWidgets() enhancements_layout->addWidget(m_widescreen_hack, 6, 1); enhancements_layout->addWidget(m_disable_fog, 7, 0); enhancements_layout->addWidget(m_force_24bit_color, 7, 1); + enhancements_layout->addWidget(m_disable_copy_filter, 8, 0); // Stereoscopy auto* stereoscopy_box = new QGroupBox(tr("Stereoscopy")); @@ -269,7 +272,6 @@ void EnhancementsWidget::AddDescriptions() QT_TR_NOOP("Makes distant objects more visible by removing fog, thus increasing the overall " "detail.\nDisabling fog will break some games which rely on proper fog " "emulation.\n\nIf unsure, leave this unchecked."); - static const char* TR_3D_MODE_DESCRIPTION = QT_TR_NOOP( "Selects the stereoscopic 3D mode. Stereoscopy allows you to get a better feeling " "of depth if you have the necessary hardware.\nSide-by-Side and Top-and-Bottom are " @@ -294,6 +296,11 @@ void EnhancementsWidget::AddDescriptions() QT_TR_NOOP("Filter all textures, including any that the game explicitly set as " "unfiltered.\nMay improve quality of certain textures in some games, but will " "cause issues in others.\n\nIf unsure, leave this unchecked."); + static const char* TR_DISABLE_COPY_FILTER_DESCRIPTION = + QT_TR_NOOP("Disables the blending of adjacent rows when copying the EFB. This is known in " + "some games as \"deflickering\" or \"smoothing\". Disabling the filter has no " + "effect on performance, but may result in a sharper image, and causes few " + "graphical issues.\n\n\nIf unsure, leave this checked."); AddDescription(m_ir_combo, TR_INTERNAL_RESOLUTION_DESCRIPTION); AddDescription(m_aa_combo, TR_ANTIALIAS_DESCRIPTION); @@ -305,6 +312,7 @@ void EnhancementsWidget::AddDescriptions() AddDescription(m_disable_fog, TR_REMOVE_FOG_DESCRIPTION); AddDescription(m_force_24bit_color, TR_FORCE_24BIT_DESCRIPTION); AddDescription(m_force_texture_filtering, TR_FORCE_TEXTURE_FILTERING_DESCRIPTION); + AddDescription(m_disable_copy_filter, TR_DISABLE_COPY_FILTER_DESCRIPTION); AddDescription(m_3d_mode, TR_3D_MODE_DESCRIPTION); AddDescription(m_3d_depth, TR_3D_DEPTH_DESCRIPTION); AddDescription(m_3d_convergence, TR_3D_CONVERGENCE_DESCRIPTION); diff --git a/Source/Core/DolphinQt2/Config/Graphics/EnhancementsWidget.h b/Source/Core/DolphinQt2/Config/Graphics/EnhancementsWidget.h index ac23ed84e9..84001a9633 100644 --- a/Source/Core/DolphinQt2/Config/Graphics/EnhancementsWidget.h +++ b/Source/Core/DolphinQt2/Config/Graphics/EnhancementsWidget.h @@ -38,6 +38,7 @@ private: QCheckBox* m_widescreen_hack; QCheckBox* m_disable_fog; QCheckBox* m_force_24bit_color; + QCheckBox* m_disable_copy_filter; // Stereoscopy QComboBox* m_3d_mode; diff --git a/Source/Core/DolphinWX/VideoConfigDiag.cpp b/Source/Core/DolphinWX/VideoConfigDiag.cpp index e9dea2c863..cea5f4921a 100644 --- a/Source/Core/DolphinWX/VideoConfigDiag.cpp +++ b/Source/Core/DolphinWX/VideoConfigDiag.cpp @@ -287,6 +287,11 @@ static wxString true_color_desc = wxTRANSLATE("Forces the game to render the RGB color channels in 24-bit, thereby increasing " "quality by reducing color banding.\nIt has no impact on performance and causes " "few graphical issues.\n\n\nIf unsure, leave this checked."); +static wxString disable_copy_filter_desc = + wxTRANSLATE("Disables the blending of adjacent rows when copying the EFB. This is known in " + "some games as \"deflickering\" or \"smoothing\". Disabling the filter has no " + "effect on performance, but may result in a sharper image, and causes few " + "graphical issues.\n\n\nIf unsure, leave this checked."); static wxString vertex_rounding_desc = wxTRANSLATE("Rounds 2D vertices to whole pixels. Fixes graphical problems in some games at " "higher internal resolutions. This setting has no effect when native internal " @@ -602,6 +607,9 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string& title) Config::GFX_DISABLE_FOG)); cb_szr->Add(CreateCheckBox(page_enh, _("Force 24-Bit Color"), wxGetTranslation(true_color_desc), Config::GFX_ENHANCE_FORCE_TRUE_COLOR)); + cb_szr->Add(CreateCheckBox(page_enh, _("Disable Copy Filter"), + wxGetTranslation(disable_copy_filter_desc), + Config::GFX_ENHANCE_DISABLE_COPY_FILTER)); szr_enh->Add(cb_szr, wxGBPosition(row, 0), wxGBSpan(1, 3)); row += 1; |
