Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add epsilon hack to work around rounding issue in texture lookup #9407

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/G4F.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# G4FP69, G4FE69, G4FD69, G4FF69 - FIFA Soccer 07

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/G6F.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# G6FE69, G6FD69, G6FF69, G6FP69 - FIFA World Cup: Germany 2006

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/G6N.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# G6NE69, G6NP69 - NBA Live 06

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GAZ.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GAZF69, GAZE69, GAZJ13, GAZM69, GAZI69, GAZH69, GAZD69, GAZP69, GAZJ69, GAZS69 - Harry Potter and the Prisoner of Azkaban

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GEY.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GEYP69, GEYJ13, GEYE69 - Fight Night Round 2

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GF5.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GF5P69, GF5E69, GF5D69, GF5F69, GF5I69, GF5H69, GF5S69 - FIFA Soccer 2005

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GF6.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GF6P69, GF6F69, GF6E69, GF6D69, GF6H69, GF6S69, GF6I69 - FIFA Soccer 06

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GF8.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GF8P69, GF8E69 - FIFA Street

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GFA.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GFAP69, GFAJ13, GFAE69, GFAD69, GFAF69, GFAI69, GFAS69 - FIFA Soccer 2003

[Video_Hacks]
TextureLookupEpsilon = 25
2 changes: 2 additions & 0 deletions Data/Sys/GameSettings/GFY.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
[Video_Settings]
SafeTextureCacheColorSamples = 512

[Video_Hacks]
TextureLookupEpsilon = 25
2 changes: 1 addition & 1 deletion Data/Sys/GameSettings/GH2.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

[Video_Hacks]
ImmediateXFBEnable = False

TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GLY.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GLYE69, GLYP69 - NBA Live 2005

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GLZ.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GLZP69, GLZE69, GLZD69, GLZF69 - 007: From Russia with Love (tm)

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GMF.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GMFE69, GMFS69, GMFD69, GMFF69, GMFI69, GMFP69 - Medal of Honor: Frontline

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GN8.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GN8E69, GN8P69 - NBA Live 2004

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GNL.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GNLE69, GNLP69 - NBA Live 2003

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GNS.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GNSJ13, GNSE69 - NBA Street

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GNW.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GNWP69, GNWE69 - Def Jam Fight For NY

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GO7.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GO7F69, GO7D69, GO7E69, GO7S69, GO7P69 - James Bond 007(tm): NightFire(tm)

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GON.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GONF69, GONP69, GONJ13, GONE69, GOND69 - Medal of Honor: European Assault

[Video_Hacks]
TextureLookupEpsilon = 25
3 changes: 3 additions & 0 deletions Data/Sys/GameSettings/GOW.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

[Core]
JITFollowBranch = False

[Video_Hacks]
TextureLookupEpsilon = 25
2 changes: 2 additions & 0 deletions Data/Sys/GameSettings/GOY.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
[Video_Settings]
SafeTextureCacheColorSamples = 512

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GR8.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GR8F69, GRZJ13, GR8E69, GR8P69, GR8D69 - Medal of Honor: Rising Sun

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GUG.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GUGP69, GUGF69, GUGD69, GUGE69, G2NJ13 - Need for Speed: Underground 2

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GV4.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GV4E69 - MVP Baseball 2005

[Video_Hacks]
TextureLookupEpsilon = 25
2 changes: 2 additions & 0 deletions Data/Sys/GameSettings/GVL.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ SyncOnSkipIdle = False
[ActionReplay]
# Add action replay cheats here.

[Video_Hacks]
TextureLookupEpsilon = 25
1 change: 1 addition & 0 deletions Data/Sys/GameSettings/GW7.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@

[Video_Hacks]
ImmediateXFBEnable = False
TextureLookupEpsilon = 25
2 changes: 1 addition & 1 deletion Data/Sys/GameSettings/GXB.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

[Video_Hacks]
EFBAccessEnable = False

TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GXF.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GXFP69, GXFF69, GXFE69, GXFD69, GXFI69, GXFS69 - FIFA Soccer 2004

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/GXO.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GXOP69, GXOE69, GXOX69, GXOJ13 - SSX on Tour

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/R43.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# R43P69, R43E69, R43J13 - EA Sports Active

[Video_Hacks]
TextureLookupEpsilon = 25
3 changes: 3 additions & 0 deletions Data/Sys/GameSettings/R6T.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@

[Video_Settings]
SafeTextureCacheColorSamples = 512

[Video_Hacks]
TextureLookupEpsilon = 25
2 changes: 1 addition & 1 deletion Data/Sys/GameSettings/R7X.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ SafeTextureCacheColorSamples = 512

[Video_Hacks]
EFBToTextureEnable = False

TextureLookupEpsilon = 25
1 change: 1 addition & 0 deletions Data/Sys/GameSettings/RBO.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ ForceFiltering = False

[Video_Hacks]
ImmediateXFBEnable = False
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/RD2.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# RD2X41, RD2J41, RD2P41, RD2K41, RD2E41 - Red Steel 2

[Video_Hacks]
TextureLookupEpsilon = 25
3 changes: 3 additions & 0 deletions Data/Sys/GameSettings/RD8.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

[Video_Settings]
SuggestedAspectRatio = 2

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/RGF.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# RGFE69, RGFF69, RGFI69, RGFS69, RGFP69 - The Godfather: Blackhand Edition

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/RM2.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# RM2E69, RM2X69, RM2J13, RM2P69, RM2U69 - Medal of Honor: Heroes 2

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/RNP.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# RNPP69, RNPY69, RNPX69, RNPJ13, RNPK69, RNPE69 - Need for Speed: ProStreet

[Video_Hacks]
TextureLookupEpsilon = 25
3 changes: 1 addition & 2 deletions Data/Sys/GameSettings/RSX.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

[Video_Settings]

[Video_Hacks]

[Video_Hacks]
ImmediateXFBEnable = False
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/RX9.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# RX9K69, RX9J13, RX9P69, RX9X69, RX9E69, RX9Y69 - Need for Speed: Undercover

[Video_Hacks]
TextureLookupEpsilon = 25
3 changes: 3 additions & 0 deletions Data/Sys/GameSettings/SD2.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ SafeTextureCacheColorSamples = 512
[Video_Enhancements]
MaxAnisotropy = 0
ForceFiltering = False

[Video_Hacks]
TextureLookupEpsilon = 50
3 changes: 3 additions & 0 deletions Data/Sys/GameSettings/SDN.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
[Video_Enhancements]
MaxAnisotropy = 0
ForceFiltering = False

[Video_Hacks]
TextureLookupEpsilon = 25
2 changes: 2 additions & 0 deletions Data/Sys/GameSettings/SEA.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ SafeTextureCacheColorSamples = 512
[Video_Enhancements]
ForceFiltering = False

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/SM7.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# SM7E69 - Madden NFL 12

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/SNF.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# SNFE69 - EA Sports Active: NFL Training Camp

[Video_Hacks]
TextureLookupEpsilon = 25
4 changes: 4 additions & 0 deletions Data/Sys/GameSettings/SNH.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# SNHP69, SNHJ13, SNHE69 - Need for Speed: Hot Pursuit

[Video_Hacks]
TextureLookupEpsilon = 25
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public enum IntSetting implements AbstractIntSetting
GFX_STEREO_DEPTH(Settings.FILE_GFX, Settings.SECTION_STEREOSCOPY, "StereoDepth", 20),
GFX_STEREO_CONVERGENCE_PERCENTAGE(Settings.FILE_GFX, Settings.SECTION_STEREOSCOPY,
"StereoConvergencePercentage", 100),
GFX_HACK_TEXTURE_LOOKUP_EPSILON(Settings.FILE_GFX, Settings.SECTION_GFX_HACKS,
"TextureLookupEpsilon", 0),

LOGGER_VERBOSITY(Settings.FILE_LOGGER, Settings.SECTION_LOGGER_OPTIONS, "Verbosity", 1);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,8 @@ private void addHackSettings(ArrayList<SettingsItem> sl)
sl.add(new HeaderSetting(R.string.other, 0));
sl.add(new CheckBoxSetting(BooleanSetting.GFX_FAST_DEPTH_CALC, R.string.fast_depth_calculation,
R.string.fast_depth_calculation_description));
sl.add(new IntSliderSetting(IntSetting.GFX_HACK_TEXTURE_LOOKUP_EPSILON, R.string.texture_lookup_epsilon,
R.string.texture_lookup_epsilon_description, 0, 100, "%"));
}

private void addLogConfigurationSettings(ArrayList<SettingsItem> sl)
Expand Down
2 changes: 2 additions & 0 deletions Source/Android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@
<string name="disable_destination_alpha_description">Disables emulation of a hardware feature called destination alpha, which is used in many games for various effects.</string>
<string name="fast_depth_calculation">Fast Depth Calculation</string>
<string name="fast_depth_calculation_description">Uses a less accurate algorithm to calculate depth values.</string>
<string name="texture_lookup_epsilon">Epsilon in texture lookups</string>
<string name="texture_lookup_epsilon_description">Changes the epsilon value used to work around rounding issue on some GPUs in texture lookups. Fixes texture glitches in some games eg. horizontal/vertical lines in videos. Its value should be as low as possible. If unsure, leave the value as 0.</string>
<string name="aspect_ratio">Aspect Ratio</string>
<string name="aspect_ratio_description">Select what aspect ratio to use when rendering</string>
<string name="shader_compilation_mode">Shader Compilation Mode</string>
Expand Down
1 change: 1 addition & 0 deletions Source/Core/Core/Config/GraphicsSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ const Info<bool> GFX_HACK_COPY_EFB_SCALED{{System::GFX, "Hacks", "EFBScaledCopy"
const Info<bool> GFX_HACK_EFB_EMULATE_FORMAT_CHANGES{
{System::GFX, "Hacks", "EFBEmulateFormatChanges"}, false};
const Info<bool> GFX_HACK_VERTEX_ROUDING{{System::GFX, "Hacks", "VertexRounding"}, false};
const Info<int> GFX_HACK_TEXTURE_LOOKUP_EPSILON{{System::GFX, "Hacks", "TextureLookupEpsilon"}, 0};

// Graphics.GameSpecific

Expand Down
1 change: 1 addition & 0 deletions Source/Core/Core/Config/GraphicsSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ extern const Info<bool> GFX_HACK_SKIP_DUPLICATE_XFBS;
extern const Info<bool> GFX_HACK_COPY_EFB_SCALED;
extern const Info<bool> GFX_HACK_EFB_EMULATE_FORMAT_CHANGES;
extern const Info<bool> GFX_HACK_VERTEX_ROUDING;
extern const Info<int> GFX_HACK_TEXTURE_LOOKUP_EPSILON;

// Graphics.GameSpecific

Expand Down
1 change: 1 addition & 0 deletions Source/Core/Core/ConfigLoaders/NetPlayConfigLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class NetPlayConfigLayerLoader final : public Config::ConfigLayerLoader
if (m_settings.m_StrictSettingsSync)
{
layer->Set(Config::GFX_HACK_VERTEX_ROUDING, m_settings.m_VertexRounding);
layer->Set(Config::GFX_HACK_TEXTURE_LOOKUP_EPSILON, m_settings.m_TextureLookupEpsilon);
layer->Set(Config::GFX_EFB_SCALE, m_settings.m_InternalResolution);
layer->Set(Config::GFX_HACK_COPY_EFB_SCALED, m_settings.m_EFBScaledCopy);
layer->Set(Config::GFX_FAST_DEPTH_CALC, m_settings.m_FastDepthCalc);
Expand Down
1 change: 1 addition & 0 deletions Source/Core/Core/NetPlayClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ unsigned int NetPlayClient::OnData(sf::Packet& packet)
packet >> m_net_settings.m_SkipIPL;
packet >> m_net_settings.m_LoadIPLDump;
packet >> m_net_settings.m_VertexRounding;
packet >> m_net_settings.m_TextureLookupEpsilon;
packet >> m_net_settings.m_InternalResolution;
packet >> m_net_settings.m_EFBScaledCopy;
packet >> m_net_settings.m_FastDepthCalc;
Expand Down
1 change: 1 addition & 0 deletions Source/Core/Core/NetPlayProto.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ struct NetSettings
bool m_SkipIPL;
bool m_LoadIPLDump;
bool m_VertexRounding;
int m_TextureLookupEpsilon;
int m_InternalResolution;
bool m_EFBScaledCopy;
bool m_FastDepthCalc;
Expand Down
1 change: 1 addition & 0 deletions Source/Core/Core/NetPlayServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1339,6 +1339,7 @@ bool NetPlayServer::StartGame()
spac << m_settings.m_SkipIPL;
spac << m_settings.m_LoadIPLDump;
spac << m_settings.m_VertexRounding;
spac << m_settings.m_TextureLookupEpsilon;
spac << m_settings.m_InternalResolution;
spac << m_settings.m_EFBScaledCopy;
spac << m_settings.m_FastDepthCalc;
Expand Down
11 changes: 11 additions & 0 deletions Source/Core/DolphinQt/Config/Graphics/HacksWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,14 @@ void HacksWidget::CreateWidgets()
m_vertex_rounding = new GraphicsBool(tr("Vertex Rounding"), Config::GFX_HACK_VERTEX_ROUDING);
m_save_texture_cache_state =
new GraphicsBool(tr("Save Texture Cache to State"), Config::GFX_SAVE_TEXTURE_CACHE_TO_STATE);
m_texture_lookup_epsilon = new GraphicsSlider(0, 100, Config::GFX_HACK_TEXTURE_LOOKUP_EPSILON);

other_layout->addWidget(m_fast_depth_calculation, 0, 0);
other_layout->addWidget(m_disable_bounding_box, 0, 1);
other_layout->addWidget(m_vertex_rounding, 1, 0);
other_layout->addWidget(m_save_texture_cache_state, 1, 1);
other_layout->addWidget(new QLabel(tr("Epsilon in texture lookups:")), 2, 0);
other_layout->addWidget(m_texture_lookup_epsilon, 2, 1);

main_layout->addWidget(efb_box);
main_layout->addWidget(texture_cache_box);
Expand Down Expand Up @@ -277,6 +280,12 @@ void HacksWidget::AddDescriptions()
"higher internal resolutions. This setting has no effect when native internal "
"resolution is used.<br><br><dolphin_emphasis>If unsure, leave this "
"unchecked.</dolphin_emphasis>");
static const char TR_TEXTURE_LOOKUP_EPSILON_DESCRIPTION[] =
QT_TR_NOOP("Changes the epsilon value used to work around "
"rounding issue on some GPUs in texture lookups.<br><br>"
"Fixes texture glitches in some games eg. horizontal/vertical lines in videos. "
"Its value should be as low as possible.<br><br>"
"<dolphin_emphasis>If unsure, leave the value as 0.</dolphin_emphasis>");

m_skip_efb_cpu->SetDescription(tr(TR_SKIP_EFB_CPU_ACCESS_DESCRIPTION));
m_ignore_format_changes->SetDescription(tr(TR_IGNORE_FORMAT_CHANGE_DESCRIPTION));
Expand All @@ -292,6 +301,8 @@ void HacksWidget::AddDescriptions()
m_disable_bounding_box->SetDescription(tr(TR_DISABLE_BOUNDINGBOX_DESCRIPTION));
m_save_texture_cache_state->SetDescription(tr(TR_SAVE_TEXTURE_CACHE_TO_STATE_DESCRIPTION));
m_vertex_rounding->SetDescription(tr(TR_VERTEX_ROUNDING_DESCRIPTION));
m_texture_lookup_epsilon->SetTitle(tr("Epsilon in texture lookups"));
m_texture_lookup_epsilon->SetDescription(tr(TR_TEXTURE_LOOKUP_EPSILON_DESCRIPTION));
}

void HacksWidget::UpdateDeferEFBCopiesEnabled()
Expand Down
2 changes: 2 additions & 0 deletions Source/Core/DolphinQt/Config/Graphics/HacksWidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "DolphinQt/Config/Graphics/GraphicsWidget.h"

class GraphicsBool;
class GraphicsSlider;
class GraphicsWindow;
class QLabel;
class ToolTipSlider;
Expand Down Expand Up @@ -42,6 +43,7 @@ class HacksWidget final : public GraphicsWidget
GraphicsBool* m_fast_depth_calculation;
GraphicsBool* m_disable_bounding_box;
GraphicsBool* m_vertex_rounding;
GraphicsSlider* m_texture_lookup_epsilon;
GraphicsBool* m_save_texture_cache_state;
GraphicsBool* m_defer_efb_copies;

Expand Down
1 change: 1 addition & 0 deletions Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ void NetPlayDialog::OnStart()
settings.m_LoadIPLDump = Config::Get(Config::MAIN_LOAD_IPL_DUMP) &&
Settings::Instance().GetNetPlayServer()->DoAllPlayersHaveIPLDump();
settings.m_VertexRounding = Config::Get(Config::GFX_HACK_VERTEX_ROUDING);
settings.m_TextureLookupEpsilon = Config::Get(Config::GFX_HACK_TEXTURE_LOOKUP_EPSILON);
settings.m_InternalResolution = Config::Get(Config::GFX_EFB_SCALE);
settings.m_EFBScaledCopy = Config::Get(Config::GFX_HACK_COPY_EFB_SCALED);
settings.m_FastDepthCalc = Config::Get(Config::GFX_FAST_DEPTH_CALC);
Expand Down
Loading